Logstash twitter config - 只搜索我关注的人?

时间:2015-02-07 18:23:24

标签: twitter elasticsearch logstash

有没有人知道我如何修改这个logstash,以便它只能看到我的推特账号的订阅源?



input {
    twitter {
        # add your data
        consumer_key => ""
        consumer_secret => ""
        oauth_token => ""
        oauth_token_secret => ""
        full_tweet => true
        keywords => ["pizza"]
    }
}

output {
    elasticsearch_http {
        host => "localhost"
        index => "twitter"
        index_type => "tweet"
    }
}




0 个答案:

没有答案