Created
December 23, 2013 16:49
-
-
Save toru-takahashi/8100420 to your computer and use it in GitHub Desktop.
for blog
This file contains 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 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