# Logstash didn't show at index pattern on kibana. \[SOLVED\]

**URL:** https://discuss.elastic.co/t/logstash-didnt-show-at-index-pattern-on-kibana-solved/94725
**Category:** Kibana
**Created:** [July 27, 2017, 2:56am UTC](https://discuss.elastic.co/t/logstash-didnt-show-at-index-pattern-on-kibana-solved/94725 "2017-07-27T02:56:52Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Amity4](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@Amity4](https://discuss.elastic.co/u/Amity4)
#### Post date: [July 27, 2017, 2:56am UTC](https://discuss.elastic.co/t/logstash-didnt-show-at-index-pattern-on-kibana-solved/94725/1 "2017-07-27T02:56:52Z")

</div>

so, i have an assignment. to make a dashboard using elk stack elasticsearch, logstasg , kibana, and i must catching log data from port 10514. i've tried a few things to set up like  
input {  
udp = 10514

or  
input {  
beats {

but it still can't catch anything or connect to port 10514 and show at index pattern. is there any way that i can try or use to do this? thankyou.

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [July 27, 2017, 3:05pm UTC](https://discuss.elastic.co/t/logstash-didnt-show-at-index-pattern-on-kibana-solved/94725/2 "2017-07-27T15:05:11Z")

</div>

Hi Amity

I do not think this is an issue with the products. This issue is so generically phrased, I cannot understand it. May be you could be more specific? Ex: what environments you run on , is there firewall involved? etc...This will isolate the issue.

Thanks  
Rashmi

---

<div class="post-metadata">

### Author: ![Amity4](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@Amity4](https://discuss.elastic.co/u/Amity4)
#### Post date: [July 28, 2017, 2:58am UTC](https://discuss.elastic.co/t/logstash-didnt-show-at-index-pattern-on-kibana-solved/94725/3 "2017-07-28T02:58:40Z")

</div>

i installed it on centos 7 server on putty, using elasticsearch, kibana, logstash 5.5 . no firewall i think. cause when i check iptables, there's no iptables. i mean the problem is, when i try to configure pattern on kibana management. when i try in dex name logstash-\* " it shows unable to fetch mapping. do you have indices matching pattern? ". i try to check indices, there's no logstash, but logstash already running. how can i fix this? thankyou.

here's the screnshoot

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/0/a0c0a5a4e3e0f7bac1442b94f2fd50ec310e1633.png)

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [July 28, 2017, 3:53am UTC](https://discuss.elastic.co/t/logstash-didnt-show-at-index-pattern-on-kibana-solved/94725/4 "2017-07-28T03:53:03Z")

</div>

> [@Amity4](#):
>
> it shows unable to fetch mapping. do you have indices matching pattern?

What happens if you issue this command in your command line ? `If I go to http://localhost:9200/_cat/indices` do you see logstash index pattern there ? This is directly returned from ES. The .kibana index holds Kibana related data, and if this is the only index you have there is no data available that Kibana can visualize.

Thanks  
Rashmi

---

<div class="post-metadata">

### Author: ![Amity4](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@Amity4](https://discuss.elastic.co/u/Amity4)
#### Post date: [July 28, 2017, 4:18am UTC](https://discuss.elastic.co/t/logstash-didnt-show-at-index-pattern-on-kibana-solved/94725/5 "2017-07-28T04:18:40Z")

</div>

i don't know why, but it is already work and show logstash index on kibana and indices. at first it was okay to create logstash index, but when i try to remove it, it gave me this and elasticsearch unreachable but the service is running:

Error: Request Timeout after 30000ms  
at [http://10.10.10.4:5601/bundles/kibana.bundle.js?v=15382:12:4431](http://10.10.10.4:5601/bundles/kibana.bundle.js?v=15382:12:4431)  
at [http://10.10.10.4:5601/bundles/kibana.bundle.js?v=15382:12:4852](http://10.10.10.4:5601/bundles/kibana.bundle.js?v=15382:12:4852)

and turns out elasticsearch changed from green to red.

 ![elk](https://us1.discourse-cdn.com/elastic/original/3X/e/c/ec4a6d537b7bd9181449bc624425cc79291cfd40.PNG)

how can i fix this? thankyou so much.

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [July 28, 2017, 4:33am UTC](https://discuss.elastic.co/t/logstash-didnt-show-at-index-pattern-on-kibana-solved/94725/6 "2017-07-28T04:33:43Z")

</div>

If this is an experimental cluster and you have the permission to delete the data directory, I would advise you to stop your node and delete the data dir. Restart a clean node and reindex the data. After doing this, ES cluster health should be green. It can be verified by the command `GET _cluster/health` from the console.

( or) alternatively, you could just delete the logstash index pattern and reindex it again to see if this resolves the red state of the cluster. `curl -XDELETE "http://localhost:9200/.kibana/index-pattern/pattern_name"`

Let me know if this helps  
Rashmi

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [July 28, 2017, 6:06pm UTC](https://discuss.elastic.co/t/logstash-didnt-show-at-index-pattern-on-kibana-solved/94725/8 "2017-07-28T18:06:24Z")

</div>

Hi Amity

I would suggest you to post your question in a new thread - in the #logstash discuss channel here [https://discuss.elastic.co/c/logstash](https://discuss.elastic.co/c/logstash)  
Some one more experienced in logstash config can help you better there.

Thanks  
Rashmi

---

<div class="post-metadata">

### Author: ![Amity4](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@Amity4](https://discuss.elastic.co/u/Amity4)
#### Post date: [July 31, 2017, 12:41am UTC](https://discuss.elastic.co/t/logstash-didnt-show-at-index-pattern-on-kibana-solved/94725/9 "2017-07-31T00:41:34Z")

</div>

okaaay, i'm gonna make it there. thankyou for your help ^^

---

<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: [August 28, 2017, 12:41am UTC](https://discuss.elastic.co/t/logstash-didnt-show-at-index-pattern-on-kibana-solved/94725/10 "2017-08-28T00:41:36Z")

</div>

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