Last active
August 29, 2015 14:08
-
-
Save suzuki/fc929ea94d7e20d846da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<source> | |
type tail | |
format /^(?<ip>[0-9\\.]+) \\S+ \\S+ \\[(?<time>[^\\]]+)\\] (?<server>\\S+) "(?<method>\\S+) (?<request_uri>\\S+) (?<http>\\S+)" (?<status>\\d+) (?<bytes>\\S+) \\S+ "(?<user_agent>[^\\"]+)"/ | |
time_format %d/%b/%Y:%T %z | |
path /var/log/tdiary_access.log | |
pos_file /var/log/td-agent/tdiary_access.log.pos | |
tag tdiary.access | |
</source> | |
<match tdiary.**> | |
type stdout | |
</match> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment