Skip to content

Instantly share code, notes, and snippets.

@binocchi
Created October 12, 2015 16:51
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 binocchi/a7b137326c5151f88ef7 to your computer and use it in GitHub Desktop.
Save binocchi/a7b137326c5151f88ef7 to your computer and use it in GitHub Desktop.
####
## Output descriptions:
##
<source>
type tail
path /var/log/httpd/access_log
tag apache.log
pos_file /var/log/td-agent/httpd.access.log.pos
format apache2
</source>
<match apache.log>
type elasticsearch
host localhost
port 9200
type_name apache_log
</match>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment