# Logstash HTTP Input and REDIS Ouput

**URL:** <https://discuss.elastic.co/t/logstash-http-input-and-redis-ouput/108130>\
**Category:** Logstash\
**Created:** [November 17, 2017, 12:50pm UTC](https://discuss.elastic.co/t/logstash-http-input-and-redis-ouput/108130 "2017-11-17T12:50:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![charlot\_Attard](https://avatars.discourse-cdn.com/v4/letter/c/8797f3/32.png) [@charlot\_Attard](https://discuss.elastic.co/u/charlot_Attard)\
**Post date:** [November 17, 2017, 12:50pm UTC](https://discuss.elastic.co/t/logstash-http-input-and-redis-ouput/108130/1 "2017-11-17T12:50:09Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [November 21, 2017, 6:19am UTC](https://discuss.elastic.co/t/logstash-http-input-and-redis-ouput/108130/2 "2017-11-21T06:19:44Z")

</div>

> 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 =\> ["", ""]

???

---

<div class="post-metadata">

**Author:** ![charlot\_Attard](https://avatars.discourse-cdn.com/v4/letter/c/8797f3/32.png) [@charlot\_Attard](https://discuss.elastic.co/u/charlot_Attard)\
**Post date:** [November 21, 2017, 2:33pm UTC](https://discuss.elastic.co/t/logstash-http-input-and-redis-ouput/108130/3 "2017-11-21T14:33:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 19, 2017, 2:33pm UTC](https://discuss.elastic.co/t/logstash-http-input-and-redis-ouput/108130/4 "2017-12-19T14:33:32Z")

</div>

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