Class HttpdLogFormatConfig

java.lang.Object
org.apache.drill.exec.store.httpd.HttpdLogFormatConfig
All Implemented Interfaces:
FormatPluginConfig

public class HttpdLogFormatConfig extends Object implements FormatPluginConfig
  • Field Details

    • DEFAULT_TS_FORMAT

      public static final String DEFAULT_TS_FORMAT
      See Also:
    • logFormat

      public final String logFormat
    • timestampFormat

      public final String timestampFormat
    • extensions

      public final List<String> extensions
    • maxErrors

      public final int maxErrors
    • flattenWildcards

      public final boolean flattenWildcards
    • parseUserAgent

      public final boolean parseUserAgent
    • logParserRemapping

      public final String logParserRemapping
  • Constructor Details

    • HttpdLogFormatConfig

      public HttpdLogFormatConfig(List<String> extensions, String logFormat, String timestampFormat, int maxErrors, boolean flattenWildcards, boolean parseUserAgent, String logParserRemapping)
  • Method Details

    • getLogFormat

      public String getLogFormat()
      Returns:
      the log formatting string. This string is the config string from httpd.conf or similar config file.
    • getTimestampFormat

      public String getTimestampFormat()
      Returns:
      the timestampFormat
    • getExtensions

      public List<String> getExtensions()
    • getMaxErrors

      public int getMaxErrors()
    • getFlattenWildcards

      public boolean getFlattenWildcards()
    • getParseUserAgent

      public boolean getParseUserAgent()
    • getLogParserRemapping

      public String getLogParserRemapping()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object