Skip to content

Instantly share code, notes, and snippets.

@Jammink2
Created June 13, 2016 21: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 Jammink2/b18f9711fbb883436d1c39ff44ba312c to your computer and use it in GitHub Desktop.
Save Jammink2/b18f9711fbb883436d1c39ff44ba312c to your computer and use it in GitHub Desktop.
<source>
type forward
</source>
<match td.*.*>
type tdlog
apikey "<YOUR_TREASURE_DATA_API_KEY>"
auto_create_table
buffer_type file
buffer_path /var/log/td-agent/buffer/td
flush_interval 5s
<secondary>
type file
path /var/log/td-agent/failed_records
</secondary>
</match>
## match tag=docker.** and dump to console
<match docker.**>
type stdout
</match>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment