Indexing Tweets with logstash elasticsearch and kibana

Hello, i'm trying to index tweets, importing them with logstash into elasticsearch but i'm getting an error that i couldn't resolve
this is my twitter.conf file
input {
twitter {
# add your data
consumer_key => "xx"
consumer_secret => "xx"
oauth_token => "xx"
oauth_token_secret => "xx"
keywords => ["terrorist","terrorism","attack"]
full_tweet => true
}
}
output {
stdout { codec => dots }
elasticsearch{
protocol => "http"
host => "localhost"
index => "twitter"
document_type => "tweet"
template => "twitter_template.json"
template_name => "twitter"
}
}

Please don't post pictures of text, they are difficult to read and some people may not be even able to see them. :slight_smile:

What steps or tutorial is being followed here?
Please test your config file with the -t switch (https://www.elastic.co/guide/en/logstash/current/command-line-flags.html)

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.