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 "
yaauie
(Ry Biesemeyer)
January 11, 2020, 7:50am
2
No. The Twitter Input Plugin does not have a way to reload configuration from an external source.
Can i do use logstash http plugin to do this ??
input {
http {
host => "http://localhost/WebApplication3/home/Keywords "
port => 80
}
}
filter {
mutate {
add_field => { "token" => "logzioAccountToken" }
}
}
Is it possible to use any logstash http plugin to load the keywords daynmic ? and feed the twitter plugin inputs
system
(system)
Closed
February 8, 2020, 8:11am
5
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.