Documentation
¶
Overview ¶
Package nginx consumes nginx logs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GonxLineParser ¶
type GonxLineParser struct {
// contains filtered or unexported fields
}
type Options ¶
type Options struct {
ConfigFile string `long:"conf" description:"Path to Nginx config file"`
LogFormatName string `long:"format" description:"Log format name to look for in the Nginx config file" default:"combined"`
TimeFieldName string `long:"timefield" description:"Name of the field that contains a timestamp"`
TimeFieldFormat string `long:"time_format" description:"Timestamp format to use (strftime and Golang time.Parse supported)"`
NumParsers int `hidden:"true" description:"number of nginx parsers to spin up"`
}
Click to show internal directories.
Click to hide internal directories.