Logstash HTTP Input and REDIS Ouput

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

The problem is that when I specify output as redis the logs are not being shipped to the redis db.

Have you looked in the Logstash log for clues about why this isn't happening?

host => ["", ""]

???

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

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