# Input/filter/output metrics still exposed after setting enable\_metric: false

**URL:** <https://discuss.elastic.co/t/input-filter-output-metrics-still-exposed-after-setting-enable-metric-false/89088>\
**Category:** Logstash\
**Created:** [June 12, 2017, 6:00pm UTC](https://discuss.elastic.co/t/input-filter-output-metrics-still-exposed-after-setting-enable-metric-false/89088 "2017-06-12T18:00:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shog](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shog/32/12138_2.png) [@shog](https://discuss.elastic.co/u/shog)\
**Post date:** [June 12, 2017, 6:00pm UTC](https://discuss.elastic.co/t/input-filter-output-metrics-still-exposed-after-setting-enable-metric-false/89088/1 "2017-06-12T18:00:35Z")

</div>

Hi,

It looks like enable\_metric setting is being ignored and metrics are always enabled for all input/filter/output plugins.

How to repro:

Config (any tested input/filter/outplut plugin behaves the same way):

```auto
input { beats { enable_metric => false } }

```

After restarting logstash `curl -s 'http://127.0.0.1:9600/_node/stats?pretty'`

```auto
[...]
    "plugins" : {
      "inputs" : [ {
        "id" : "redacted-1",
        "events" : {
          "out" : 1665108,
          "queue_push_duration_in_millis" : 332750
        },
        "name" : "beats"
      } ],
[...]

```

---

<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:** [July 10, 2017, 6:01pm UTC](https://discuss.elastic.co/t/input-filter-output-metrics-still-exposed-after-setting-enable-metric-false/89088/2 "2017-07-10T18:01:09Z")

</div>

Closed on July 10, 2017, 6:01pm UTC

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