Class JsonFileHttpAccessLogPublisherCfgDefn

    • Method Detail

      • getInstance

        public static JsonFileHttpAccessLogPublisherCfgDefn getInstance()
        Get the JSON File Based HTTP Access Log Publisher configuration definition singleton.
        Returns:
        Returns the JSON File Based HTTP Access Log Publisher configuration definition singleton.
      • getEnabledPropertyDefinition

        public BooleanPropertyDefinition getEnabledPropertyDefinition()
        Get the "enabled" property definition.

        Indicates whether the JSON File Based HTTP Access Log Publisher is enabled for use.

        Returns:
        Returns the "enabled" property definition.
      • getJavaClassPropertyDefinition

        public ClassPropertyDefinition getJavaClassPropertyDefinition()
        Get the "java-class" property definition.

        The fully-qualified name of the Java class that provides the JSON File Based HTTP Access Log Publisher implementation.

        Returns:
        Returns the "java-class" property definition.
      • getLogDirectoryPropertyDefinition

        public StringPropertyDefinition getLogDirectoryPropertyDefinition()
        Get the "log-directory" property definition.

        The directory to use for the log files generated by the JSON File Based HTTP Access Log Publisher. The path to the directory is relative to the server root.

        Returns:
        Returns the "log-directory" property definition.
      • getLogFieldBlacklistPropertyDefinition

        public StringPropertyDefinition getLogFieldBlacklistPropertyDefinition()
        Get the "log-field-blacklist" property definition.

        List of fields that the server omits from access log messages.

        Valid values for this property are JSON paths for fields present in the log file.

        Returns:
        Returns the "log-field-blacklist" property definition.
      • getLogFieldWhitelistPropertyDefinition

        public StringPropertyDefinition getLogFieldWhitelistPropertyDefinition()
        Get the "log-field-whitelist" property definition.

        List of fields that the server includes in access log messages.

        Valid values for this property are JSON paths for fields present in the log file.

        Returns:
        Returns the "log-field-whitelist" property definition.
      • getLogFileNamePrefixPropertyDefinition

        public StringPropertyDefinition getLogFileNamePrefixPropertyDefinition()
        Get the "log-file-name-prefix" property definition.

        File name prefix (without extension) for CSV and JSON file based access log publishers.

        Returns:
        Returns the "log-file-name-prefix" property definition.
      • getRetentionPolicyPropertyDefinition

        public AggregationPropertyDefinition<LogRetentionPolicyCfgClient,​LogRetentionPolicyCfg> getRetentionPolicyPropertyDefinition()
        Get the "retention-policy" property definition.

        The retention policy to use for the JSON File Based HTTP Access Log Publisher.

        When multiple policies are used, log files are cleaned when any of the policy's conditions are met.

        Returns:
        Returns the "retention-policy" property definition.
      • getRotationPolicyPropertyDefinition

        public AggregationPropertyDefinition<LogRotationPolicyCfgClient,​LogRotationPolicyCfg> getRotationPolicyPropertyDefinition()
        Get the "rotation-policy" property definition.

        The rotation policy to use for the JSON File Based HTTP Access Log Publisher.

        When multiple policies are used, rotation will occur if any policy's conditions are met.

        Returns:
        Returns the "rotation-policy" property definition.