Fluentd
Search…
1.0
Introduction
Overview
Installation
Configuration
Deployment
Container Deployment
Monitoring Fluentd
Input Plugins
Output Plugins
Filter Plugins
Parser Plugins
regexp
apache2
apache_error
nginx
syslog
ltsv
csv
tsv
json
msgpack
multiline
none
Formatter Plugins
Buffer Plugins
Storage Plugins
Service Discovery Plugins
Metrics Plugins
How-to Guides
Language Bindings
Plugin Development
Plugin Helper API
Troubleshooting Guide
Powered By
GitBook
apache_error
The
apache_error
parser plugin parses apache error logs.
Parameters
See
Parse Section Configurations
.
Regexp patterns
This is regexp pattern of this plugin:
1
expression /^\[[^ ]* (?<time>[^\]]*)\] \[(?<level>[^\]]*)\](?: \[pid (?<pid>[^\]]*)\])? \[client (?<client>[^\]]*)\] (?<message>.*)$/
Copied!
level
,
pid
,
client
and
message
are included in the event record.
time
is used for the event time.
Example
This incoming event:
1
[Wed Oct 11 14:32:52 2000] [error] [client 127.0.0.1] client denied by server configuration
Copied!
is parsed as:
1
time:
2
971242372 (Wed Oct 11 14:32:52 2000)
3
​
4
record:
5
{
6
"level" : "error",
7
"client" : "127.0.0.1",
8
"message": "client denied by server configuration"
9
}
Copied!
If this article is incorrect or outdated, or omits critical information, please
let us know
.
Fluentd
is an open-source project under
Cloud Native Computing Foundation (CNCF)
. All components are available under the Apache 2 License.
Previous
apache2
Next
nginx
Last modified
11mo ago
Copy link
Contents
Parameters
Regexp patterns
Example