I am using Logstash to stream twittter tweets like below
input {
twitter {
consumer_key => ""
consumer_secret => ""
oauth_token => ""
oauth_token_secret => ""
keywords => ["USA","Trump"]
full_tweet => true
type => "tweet"
}
}
I want to send the keywords dyanmic from elastic index , or API url !
how could i possible do that ?
Is there anyway to read the keywords from API or elastic index instead of static keywords
like
keywords => "https://Api.com"
keywords => "https://localhoat:9200/keywords/text"