Skip to content

Instantly share code, notes, and snippets.

@packeteer
Created September 1, 2015 01:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save packeteer/1cfc9a52db40f7bfc6f7 to your computer and use it in GitHub Desktop.
Save packeteer/1cfc9a52db40f7bfc6f7 to your computer and use it in GitHub Desktop.
td-agent.conf partial - in_tail example
<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