Created
September 1, 2015 01:55
-
-
Save packeteer/1cfc9a52db40f7bfc6f7 to your computer and use it in GitHub Desktop.
td-agent.conf partial - in_tail example
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 apache2 | |
path /var/log/httpd/access_log | |
pos_file /var/log/td-agent/access.log.pos | |
tag access | |
</source> | |
<source> | |
type tail | |
format apache_error | |
path /var/log/httpd/error_log | |
pos_file /var/log/td-agent/error.log.pos | |
tag error | |
</source> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment