# Logstash not capturing metrics

**URL:** <https://discuss.elastic.co/t/logstash-not-capturing-metrics/155893>\
**Category:** Logstash\
**Created:** [November 8, 2018, 1:24pm UTC](https://discuss.elastic.co/t/logstash-not-capturing-metrics/155893 "2018-11-08T13:24:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkaramol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pkaramol/32/22610_2.png) [@pkaramol](https://discuss.elastic.co/u/pkaramol)\
**Post date:** [November 8, 2018, 1:24pm UTC](https://discuss.elastic.co/t/logstash-not-capturing-metrics/155893/1 "2018-11-08T13:24:11Z")

</div>

Ηere is the start of my filter

```
filter {
if "paloalto" in [tags] {

metrics {
  meter => "events_paloalto"
  flush_interval => 60
  add_tag => "metric_paloalto"
}

...

```

And here is section of my `output`

```
if "metric_paloalto" in [tags] and "_grokparsefailure" not in [tags] {
    elasticsearch {
        hosts => ["localhost:9200"]
        index => "raw_metrics-%{+YYYY.MM.dd.HH.mm}"
    }

  stdout { codec => rubydebug }
}

```

I am not getting anything on my `stdout` nor or my `elasticsearch` instance;

Any ideas?

---

<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 6, 2018, 1:24pm UTC](https://discuss.elastic.co/t/logstash-not-capturing-metrics/155893/2 "2018-12-06T13:24:18Z")

</div>

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