Configuration options for counter mode. CounterTopNForKeyedMetrics controls how many items such as IP addresses will be displayed.
CounterOutputIntervalSeconds controls output interval. StartFrom=-1 means processing will start from the end of the file.
StartFrom=-0 will make the program start from the beginning of the file.
Configuration options for metrics mode.
StartFrom=-1means processing will start from the end of the file.StartFrom=-0will make the program start from the beginning of the file.SkipIfLineMatchesRegexthis is not implemented yetDomainNamedefault domain name if a domain name cannot be found in processed log entriesHostIdassign a unique numeric id for each host you are running the tool, e.g if you are collecting logs from multiple hostsTimeWindowSizeMinutesmetrics will be generated for each time window. For example, if this value is set to10metrics will be generated for 00-10, 10-20, 20-30, 30-40, 40-50, 50-60 minutes. A log entry for 11:30:22 will be counted towards the 10-20 minutes window.WriteMetricsToDbwhen true metrics will be written to a database.DbAddressdatabase address such as 127.0.0.1 or somemysqlhost.example.com:23306ReplaceExistingMetricsaction for when an existing entry for a timewindow already exists. When true, existing entry will be replaced. When false, metric value will be set toexisting value + new value.SaveLogsToDbwhen true logs will be saved to the databaseSaveLogsToDbMaskIPswhen true IP addresses will not be saved in databaseSaveLogsToDbOnlyRelevantwhen 1 some log entries such as 40x statuses, requests from scanners, seobots etc will be skipped and won't be saved into the database.