Versions | v1.0 (td-agent3) | v0.12 (td-agent2)

apache_error Parser Plugin

The apache_error parser plugin parses apache error logs.

Table of Contents


See Parse section configurations

Regexp patterns

This is regexp pattern of this plugin:

expression /^\[[^ ]* (?<time>[^\]]*)\] \[(?<level>[^\]]*)\](?: \[pid (?<pid>[^\]]*)\])? \[client (?<client>[^\]]*)\] (?<message>.*)$/

level, pid, client and message are included in the event record. time is used for the event time.


[Wed Oct 11 14:32:52 2000] [error] [client] client denied by server configuration

This incoming event is parsed as:

971242372 (Wed Oct 11 14:32:52 2000)

  "level"  : "error",
  "client" : "",
  "message": "client denied by server configuration"
Last updated: 2019-03-22 17:16:50 +0000

Versions | v1.0 (td-agent3) | v0.12 (td-agent2)

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.