Hi All,
How can i pull data from twitter to logstash.
Example:
cocacola and its hashtag @cocacola
I wan't only pull data from cocacola hashtag.
Please give me step by step procedure.
I can able to pull data from twitter But i need data from particular hashtag.
For this i used below code in config file.
input {
twitter {
# add your data
consumer_key => ""
consumer_secret => ""
oauth_token => ""
oauth_token_secret => ""
full_tweet => true
keywords => ["*"]
full_tweet => true
}
}
output {
elasticsearch_http {
host => "localhost"
index => "twitter2"
index_type => "tweet"
}
}