I have installed http plugin on my logstash 5.3.2, and am running the plugin with the below syntax.
input{
http {
id => "190190"
port => "1000"
}
}
The problem is that when I specify output as redis the logs are not being shipped to the redis db. When I tried to use file output the logs were being written in the log file. The below are the output settings which I am using. When I tried to do a postman GET I was able to see the GET in the redis db.
output {
redis { host => ["", ""] password => "" data_type => "list" key =>
"logstash" }
}
Thanks a lot for your help
There were no logs indicating such problem. What I did to solve the problem is that I first outputted it to a file, then I created a new file which reads input from that file and outputs it in redis.
That solved the problem. Thanks a lot for your help @magnusbaeck
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.