# Failed to create monitoring event for help

**URL:** https://discuss.elastic.co/t/failed-to-create-monitoring-event-for-help/92324
**Category:** Logstash
**Created:** [July 7, 2017, 7:28pm UTC](https://discuss.elastic.co/t/failed-to-create-monitoring-event-for-help/92324 "2017-07-07T19:28:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ximeng\_Zhao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ximeng_zhao/32/15775_2.png) [@Ximeng\_Zhao](https://discuss.elastic.co/u/Ximeng_Zhao)
#### Post date: [July 7, 2017, 7:28pm UTC](https://discuss.elastic.co/t/failed-to-create-monitoring-event-for-help/92324/1 "2017-07-07T19:28:35Z")

</div>

Hi All,

I tried to run logstash to send csv data to elasticsearch on localhost, but it gives the following errors, need help with this, thanks and please let me know if you need more information that I can make up here. (I installed x-pack for elasticsearch\<5.2.2\>, kibana\<5.2.2\> and logstash\<5.2.2\>)

// when I run logstash:

14:12:31.228 [[.monitoring-logstash]-pipeline-manager] INFO logstash.outputs.el  
asticsearch - New Elasticsearch output {:class=\>"LogStash::Outputs::ElasticSearc  
h", :hosts=\>[#\<URI::HTTP:0x1d1091c9 URL:[http://localhost:9200](http://localhost:9200)\>]}  
14:12:31.229 [[.monitoring-logstash]-pipeline-manager] INFO logstash.pipeline -  
Starting pipeline {"id"=\>".monitoring-logstash", "pipeline.workers"=\>1, "pipeli  
ne.batch.size"=\>2, "pipeline.batch.delay"=\>5, "pipeline.max\_inflight"=\>2}  
14:12:31.235 [[.monitoring-logstash]-pipeline-manager] INFO logstash.pipeline -  
Pipeline .monitoring-logstash started  
14:12:31.356 [Api Webserver] INFO logstash.agent - Successfully started Logstas  
h API endpoint {:port=\>9600}  
14:12:41.241 [pool-2-thread-2] ERROR logstash.inputs.metrics - Failed to create  
monitoring event {:message=\>"For path: events", :error=\>"LogStash::Instrument::M  
etricStore::MetricNotFound"}  
14:12:51.247 [pool-2-thread-4] ERROR logstash.inputs.metrics - Failed to create  
monitoring event {:message=\>"For path: events", :error=\>"LogStash::Instrument::M  
etricStore::MetricNotFound"}  
14:13:01.255 [pool-2-thread-2] ERROR logstash.inputs.metrics - Failed to create  
monitoring event {:message=\>"For path: events", :error=\>"LogStash::Instrument::M  
etricStore::MetricNotFound"}  
14:13:11.258 [pool-2-thread-4] ERROR logstash.inputs.metrics - Failed to create  
monitoring event {:message=\>"For path: events", :error=\>"LogStash::Instrument::M  
etricStore::MetricNotFound"}

// I add three lines at the bottom of logstash.yml

xpack.monitoring.elasticsearch.url: "[http://localhost:9200](http://localhost:9200)"  
xpack.monitoring.elasticsearch.username: "logstash\_system"  
xpack.monitoring.elasticsearch.password: "changeme"

---

<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 4, 2017, 7:36pm UTC](https://discuss.elastic.co/t/failed-to-create-monitoring-event-for-help/92324/2 "2017-08-04T19:36:51Z")

</div>

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