# LogStash::Instrument::MetricStore::MetricNotFound

**URL:** https://discuss.elastic.co/t/logstash-metricnotfound/156796
**Category:** Logstash
**Tags:** elastic-stack-monitoring
**Created:** [November 15, 2018, 6:59am UTC](https://discuss.elastic.co/t/logstash-metricnotfound/156796 "2018-11-15T06:59:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![antianchi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/antianchi/32/37565_2.png) [@antianchi](https://discuss.elastic.co/u/antianchi)
#### Post date: [November 15, 2018, 6:59am UTC](https://discuss.elastic.co/t/logstash-metricnotfound/156796/1 "2018-11-15T06:59:29Z")

</div>

Continuing the discussion from [Logstash again is failing to create monitoring event](https://discuss.elastic.co/t/logstash-again-is-failing-to-create-monitoring-event/85147/14):

> [@Logstash again is failing to create monitoring event](https://discuss.elastic.co/t/logstash-again-is-failing-to-create-monitoring-event/85147/14):
>
> +1 Having the same issue. was anyone successful in fixing this issue?

My problem:  
[ERROR][logstash.inputs.metrics] Failed to create monitoring event {:message=\>"For path: events. Map keys: [:pipelines, :reloads]", :error=\> **_"LogStash::Instrument::MetricStore::MetricNotFound",_** :backtrace=\>["E:/soft/logstash-6.4.3/logstash-core/lib/logstash/instrument/metric\_store.rb:225:in `block in get_recursively'", "org/jruby/RubyArray.java:1734:in `each'", "E:/soft/logstash-6.4.3/logstash-core/lib/logstash/instrument/metric\_store.rb:224:in `get_recursively'", "E:/soft/logstash-6.4.3/logstash-core/lib/logstash/instrument/metric_store.rb:235:in `block in get\_recursively'", "org/jruby/RubyArray.java:1734:in `each'", "E:/soft/logstash-6.4.3/logstash-core/lib/logstash/instrument/metric_store.rb:224:in `get\_recursively'", "E:/soft/logstash-6.4.3/logstash-core/lib/logstash/instrument/metric\_store.rb:95:in `block in get'", "org/jruby/ext/thread/Mutex.java:148:in `synchronize'", "E:/soft/logstash-6.4.3/logstash-core/lib/logstash/instrument/metric\_store.rb:94:in `get'", "E:/soft/logstash-6.4.3/logstash-core/lib/logstash/instrument/metric_store.rb:108:in `get\_shallow'", "E:/soft/logstash-6.4.3/logstash-core/lib/logstash/instrument/metric\_store.rb:157:in `block in extract_metrics'", "org/jruby/RubyArray.java:1734:in `each'", "org/jruby/RubyEnumerable.java:936:in `inject'", "E:/soft/logstash-6.4.3/logstash-core/lib/logstash/instrument/metric_store.rb:133:in `extract\_metrics'", "E:/soft/logstash-6.4.3/x-pack/lib/monitoring/inputs/metrics/stats\_event\_factory.rb:92:in `format_global_event_count'", "E:/soft/logstash-6.4.3/x-pack/lib/monitoring/inputs/metrics/stats_event_factory.rb:20:in `make'", "E:/soft/logstash-6.4.3/x-pack/lib/monitoring/inputs/metrics.rb:117:in `update_stats'", "E:/soft/logstash-6.4.3/x-pack/lib/monitoring/inputs/metrics.rb:108:in `block in update'", "E:/soft/logstash-6.4.3/x-pack/lib/license\_checker/licensed.rb:65:in `with_license_check'", "E:/soft/logstash-6.4.3/x-pack/lib/monitoring/inputs/metrics.rb:107:in `update'", "E:/soft/logstash-6.4.3/x-pack/lib/monitoring/inputs/metrics.rb:72:in `block in configure_snapshot_poller'", "E:/soft/logstash-6.4.3/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.5-java/lib/concurrent/executor/safe_task_executor.rb:24:in `block in execute'", "com/concurrent\_ruby/ext/SynchronizationLibrary.java:222:in `synchronize'", "E:/soft/logstash-6.4.3/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.5-java/lib/concurrent/executor/safe_task_executor.rb:19:in `execute'", "E:/soft/logstash-6.4.3/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.5-java/lib/concurrent/timer\_task.rb:309:in `execute_task'", "E:/soft/logstash-6.4.3/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.5-java/lib/concurrent/executor/safe_task_executor.rb:24:in `block in execute'", "com/concurrent\_ruby/ext/SynchronizationLibrary.java:222:in `synchronize'", "E:/soft/logstash-6.4.3/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.5-java/lib/concurrent/executor/safe_task_executor.rb:19:in `execute'", "E:/soft/logstash-6.4.3/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.5-java/lib/concurrent/ivar.rb:170:in `safe_execute'", "E:/soft/logstash-6.4.3/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.5-java/lib/concurrent/scheduled_task.rb:285:in `process\_task'", "E:/soft/logstash-6.4.3/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.5-java/lib/concurrent/executor/timer\_set.rb:168:in `block in process_tasks'", "E:/soft/logstash-6.4.3/vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.5-java/lib/concurrent/executor/java_executor_service.rb:94:in `run'"]}

---

<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 13, 2018, 6:59am UTC](https://discuss.elastic.co/t/logstash-metricnotfound/156796/2 "2018-12-13T06:59:37Z")

</div>

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