# Logstash not showing up in Index Patterns

**URL:** <https://discuss.elastic.co/t/logstash-not-showing-up-in-index-patterns/209156>\
**Category:** Kibana\
**Created:** [November 23, 2019, 4:01pm UTC](https://discuss.elastic.co/t/logstash-not-showing-up-in-index-patterns/209156 "2019-11-23T16:01:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thijs\_Kunnen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thijs_kunnen/32/58213_2.png) [@Thijs\_Kunnen](https://discuss.elastic.co/u/Thijs_Kunnen)\
**Post date:** [November 23, 2019, 4:01pm UTC](https://discuss.elastic.co/t/logstash-not-showing-up-in-index-patterns/209156/1 "2019-11-23T16:01:25Z")

</div>

Hi, and thank you for reading this.

I am trying to set up Kibana and add Logstash to view my logs.  
I started with installing elasticsearch. Here, things already started to get semi weird. I was able to curl localhost:9200 in Putty but when going to the serverip:9200, I got a connection refused error.  
Problems for later, I thought so I advanced to installing Logstash and Kibana. I configured Kibana (port, elasticsearch ip and server ip) and after starting all services, I was able to go to the Kibana dashboard panel. I added Logstash to the group adm so it has permission to view the apache logs. Added a given apache-logs.conf file to logstash and restarted all 3 services.  
All this had been done by following the instructions of our lecturer. Next step was to create an index pattern with logstash-\* as pattern but it didn't show up.

I've been trying quite a lot to fix this problem by using possible solutions given on the web but none worked yet. I'm using a Debian server.

I hope one of you could help me out on this.  
Let me know if you need anything!  
Kind regards  
Thijs

---

<div class="post-metadata">

**Author:** ![Thijs\_Kunnen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thijs_kunnen/32/58213_2.png) [@Thijs\_Kunnen](https://discuss.elastic.co/u/Thijs_Kunnen)\
**Post date:** [November 25, 2019, 11:16am UTC](https://discuss.elastic.co/t/logstash-not-showing-up-in-index-patterns/209156/2 "2019-11-25T11:16:31Z")

</div>

After a lot of trial and error, I managed to fix the problem. Probably an absolute rookie mistake but instead of using the 127.0.0.1 in all configs, I needed to put the ip of the server itself in there.

---

<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 23, 2019, 11:16am UTC](https://discuss.elastic.co/t/logstash-not-showing-up-in-index-patterns/209156/3 "2019-12-23T11:16:39Z")

</div>

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