apache2
The apache2
parser plugin parses apache2 logs.
Parameters
keep_time_key
If you want to keep time field in the record, set true
. Default is false
.
Regexp patterns
This is regexp and time format patterns of this plugin:
host
, user
, method
, path
, code
, size
, referer
and agent
are included in the event record. time
is used for the event time.
code
and size
fields are converted into integer type automatically. And if the field value is -
, it is interpreted as nil
. See "Result Example".
Example
This incoming event is parsed as:
If this article is incorrect or outdated, or omits critical information, please let us know. Fluentd is a open source project under Cloud Native Computing Foundation (CNCF). All components are available under the Apache 2 License.
Last updated