Skip to content

Instantly share code, notes, and snippets.

@toru-takahashi
Created December 23, 2013 16:49
Show Gist options
  • Save toru-takahashi/8100420 to your computer and use it in GitHub Desktop.
Save toru-takahashi/8100420 to your computer and use it in GitHub Desktop.
for blog
# 転送受け
<source>
type forward
port 24224
bind 0.0.0.0
</source>
# データチェックのためにTreasureDataに転送されてきたデータを送信
<match td.*.*>
type tdlog
apikey <TD_API_KEY>
auto_create_table
buffer_type file
buffer_path /var/log/td-agent/buffer/td
use_ssl true
</match>
# Treasure Data Monitoring Serviceを利用するための設定
<source>
type td_monitor_agent
apikey <TD_API_KEY>
instance_id monitoring_aggregator
</source>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment