# Logstash monitoring on kibana

**URL:** https://discuss.elastic.co/t/logstash-monitoring-on-kibana/149901
**Category:** Logstash
**Created:** [September 25, 2018, 8:16pm UTC](https://discuss.elastic.co/t/logstash-monitoring-on-kibana/149901 "2018-09-25T20:16:09Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)
#### Post date: [September 25, 2018, 8:16pm UTC](https://discuss.elastic.co/t/logstash-monitoring-on-kibana/149901/1 "2018-09-25T20:16:09Z")

</div>

I have following in config file but monitoring not getting display in kibana

xpack.monitoring.enabled: true  
xpack.monitoring.elasticsearch.url: ["http://:9200", "https://:9200"]  
xpack.monitoring.elasticsearch.sniffing: true  
xpack.monitoring.collection.interval: 30s  
xpack.management.enabled: false

I don't have any security setup yet.  
kibana displays itself and elasticsearch cluster fine. what am I missing?

---

<div class="post-metadata">

### Author: ![yaauie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yaauie/32/23363_2.png) [@yaauie](https://discuss.elastic.co/u/yaauie)
#### Post date: [September 25, 2018, 11:16pm UTC](https://discuss.elastic.co/t/logstash-monitoring-on-kibana/149901/2 "2018-09-25T23:16:29Z")

</div>

What do your Logstash logs say when you start it up?

My best guess is that that they will be complaining about connecting to Elasticsearch for one of a couple possible reasons:

- one of the URLs given include https scheme, but as you say, security has not yet been enabled on your Elasticsearch cluster.
- the URLs given do not include a hostname; including a hostname (even one such as `localhost`) may help Logstash to find your Elasticsearch.

---

<div class="post-metadata">

### Author: ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)
#### Post date: [September 26, 2018, 11:52am UTC](https://discuss.elastic.co/t/logstash-monitoring-on-kibana/149901/3 "2018-09-26T11:52:28Z")

</div>

I remove duplicate connection string and only kept [http://hostname:9200](http://hostname:9200). disable sniffing.

in log file only one error line is with error. everything thing else shows success

[2018-09-26T06:47:47,297][ERROR][logstash.inputs.metrics] Failed to create monitoring event {:message=\>"For path: events. Map keys: [:pipelines, :reloads]", :error=\>"LogStash::Instrument::MetricStore::MetricNotFound"}

Kibana log says  
{"type":"log","@timestamp":"2018-09-25T20:06:24Z","tags":["status","plugin:logstash@6.4.1","info"],"pid":530,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}  
{"type":"log","@timestamp":"2018-09-26T11:59:12Z","tags":["status","plugin:logstash@6.4.1","info"],"pid":15262,"state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Elasticsearch","prevState":"uninitialized","prevMsg":"uninitialized"}  
{"type":"log","@timestamp":"2018-09-26T11:59:14Z","tags":["status","plugin:logstash@6.4.1","info"],"pid":15262,"state":"green","message":"Status changed from yellow to green - Ready","prevState":"yellow","prevMsg":"Waiting for Elasticsearch"}

---

<div class="post-metadata">

### Author: ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)
#### Post date: [September 26, 2018, 4:06pm UTC](https://discuss.elastic.co/t/logstash-monitoring-on-kibana/149901/4 "2018-09-26T16:06:31Z")

</div>

this is fixed.  
I didn't had any configuration file in conf.d dir. added sample config file and now I have monitoring showing up in kibana.

---

<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: [October 24, 2018, 4:06pm UTC](https://discuss.elastic.co/t/logstash-monitoring-on-kibana/149901/5 "2018-10-24T16:06:48Z")

</div>

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