# Warnings on logstash's config execution - "A gauge metric of an unknown type (org.jruby.RubySymbol) has been created for key: status"

**URL:** <https://discuss.elastic.co/t/warnings-on-logstashs-config-execution-a-gauge-metric-of-an-unknown-type-org-jruby-rubysymbol-has-been-created-for-key-status/280954>\
**Category:** Logstash\
**Created:** [August 10, 2021, 5:31pm UTC](https://discuss.elastic.co/t/warnings-on-logstashs-config-execution-a-gauge-metric-of-an-unknown-type-org-jruby-rubysymbol-has-been-created-for-key-status/280954 "2021-08-10T17:31:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shreesh\_Narayanan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shreesh_narayanan/32/87312_2.png) [@Shreesh\_Narayanan](https://discuss.elastic.co/u/Shreesh_Narayanan)\
**Post date:** [August 10, 2021, 5:31pm UTC](https://discuss.elastic.co/t/warnings-on-logstashs-config-execution-a-gauge-metric-of-an-unknown-type-org-jruby-rubysymbol-has-been-created-for-key-status/280954/1 "2021-08-10T17:31:33Z")

</div>

Hello,

I see the below warnings on logstash , only when a particular config is used. The warning is as below

```auto

[2021-08-10T17:26:22,581][WARN][org.logstash.instrument.metrics.gauge.LazyDelegatingGauge][main] A gauge metric of an unknown type (org.jruby.RubySymbol) has been created for key: status. This may result in invalid serialization. It is recommended to log an issue to the responsible developer/development team.
[2021-08-10T17:26:22,586][WARN][org.logstash.instrument.metrics.gauge.LazyDelegatingGauge][main] A gauge metric of an unknown type (org.jruby.RubySymbol) has been created for key: status. This may result in invalid serialization. It is recommended to log an issue to the responsible developer/development team.
[2021-08-10T17:26:22,608][WARN][org.logstash.instrument.metrics.gauge.LazyDelegatingGauge] A gauge metric of an unknown type (org.jruby.RubySymbol) has been created for key: status. This may result in invalid serialization. It is recommended to log an issue to the responsible developer/development team.

```

Here's the Input section :

```auto
input {
file {
path => "/app/input/ghost.ddc*.*"
mode => "read"
sincedb_path => "/dev/null"
file_completed_action => "log"
file_completed_log_path => "/app/processed/output.txt"
}
#stdin {}
      }

```

and the output

```auto
output
        {
                elasticsearch
                                {
                                        hosts => ["172.26.207.164:9200"]
                                        index => "logstash_ghost"
                                        user => "elastic"
                                        password => "${ES_PWD}"
                                }
# stdout {}

}
                                               

```

The other config doesn't show this warning , it doesn;t have any negative impact . But still would like to know why it shows up in this config only.

---

<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:** [September 7, 2021, 5:32pm UTC](https://discuss.elastic.co/t/warnings-on-logstashs-config-execution-a-gauge-metric-of-an-unknown-type-org-jruby-rubysymbol-has-been-created-for-key-status/280954/2 "2021-09-07T17:32:22Z")

</div>

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