Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LTSVTailer ¶ added in v2.27.0
type LTSVTailer struct {
// contains filtered or unexported fields
}
func NewLTSVTailer ¶ added in v2.27.0
func NewLTSVTailer(file string) (*LTSVTailer, error)
type NginxAccessItem ¶
type NginxAccessItem struct { BodyBytesSent string `mapstructure:"body_bytes_sent"` Status string `mapstructure:"status"` RemoteAddress string `mapstructure:"remote_addr"` HTTPUserAgent string `mapstructure:"http_user_agent"` Request string `mapstructure:"request"` BytesSent string `mapstructure:"bytes_sent"` RequestLength string `mapstructure:"request_length"` RequestTime string `mapstructure:"request_time"` GzipRatio string `mapstructure:"gzip_ratio"` ServerProtocol string `mapstructure:"server_protocol"` UpstreamConnectTime string `mapstructure:"upstream_connect_time"` UpstreamHeaderTime string `mapstructure:"upstream_header_time"` UpstreamResponseTime string `mapstructure:"upstream_response_time"` UpstreamResponseLength string `mapstructure:"upstream_response_length"` UpstreamStatus string `mapstructure:"upstream_status"` UpstreamCacheStatus string `mapstructure:"upstream_cache_status"` }
NginxAccessItem represents the decoded access log data
func NewNginxAccessItem ¶
func NewNginxAccessItem(v map[string]string) (*NginxAccessItem, error)
type PatternTailer ¶
type PatternTailer struct {
// contains filtered or unexported fields
}
func NewPatternTailer ¶
func NewPatternTailer(file string, patterns map[string]string) (*PatternTailer, error)
Click to show internal directories.
Click to hide internal directories.