elasticsearch+KibanaとtwitterAPIで遊んでみる。 その3
無事動いたので、各設定ファイルを見直し。
<source>
type twitter
consumer_key YOUR_CONSUMER_KEY # Required
consumer_secret YOUR_CONSUMER_SECRET # Required
oauth_token YOUR_OAUTH_TOKEN # Required
oauth_token_secret YOUR_OAUTH_TOKEN_SECRET # Required
tag input.twitter.sampling # Required
timeline tracking # Required (tracking or sampling or userstream)
# keyword Ruby,Python # Optional (keyword is priority than follow_ids)
# follow_ids 14252,53235 # Optional (integers, not screen names)
lang ja,en # Optional
output_format nest # Optional (nest or flat or simple[default])
</source>
<match input.twitter.sampling>
type elasticsearch
host localhost
port 9200
index_name fluentd
type_name fluentd
</match>
keywordは日本語設定できないのかしら ?
バルスで絞って時間ごとのグラフ作ってみたいきがする。