# \[2020-06-03T17:14:02,261\]\[WARN \]\[org.logstash.instrument.metrics.gauge.LazyDelegatingGauge\]\[main\] A gauge metric of an unknown type (org.jruby.specialized.RubyArrayOneObject) has been created for key: cluster\_uuids. This may result in invalid seri

**URL:** <https://discuss.elastic.co/t/2020-06-03t1702-261-warn-org-logstash-instrument-metrics-gauge-lazydelegatinggauge-main-a-gauge-metric-of-an-unknown-type-org-jruby-specialized-rubyarrayoneobject-has-been-created-for-key-cluster-uuids-this-may-result-in-invalid-seri/235540>\
**Category:** Logstash\
**Created:** [June 3, 2020, 11:56am UTC](https://discuss.elastic.co/t/2020-06-03t1702-261-warn-org-logstash-instrument-metrics-gauge-lazydelegatinggauge-main-a-gauge-metric-of-an-unknown-type-org-jruby-specialized-rubyarrayoneobject-has-been-created-for-key-cluster-uuids-this-may-result-in-invalid-seri/235540 "2020-06-03T11:56:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Puneeth\_S\_B\_Gowda1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/puneeth_s_b_gowda1/32/68544_2.png) [@Puneeth\_S\_B\_Gowda1](https://discuss.elastic.co/u/Puneeth_S_B_Gowda1)\
**Post date:** [June 3, 2020, 11:56am UTC](https://discuss.elastic.co/t/2020-06-03t1702-261-warn-org-logstash-instrument-metrics-gauge-lazydelegatinggauge-main-a-gauge-metric-of-an-unknown-type-org-jruby-specialized-rubyarrayoneobject-has-been-created-for-key-cluster-uuids-this-may-result-in-invalid-seri/235540/1 "2020-06-03T11:56:08Z")

</div>

[2020-06-03T17:14:02,261][WARN][org.logstash.instrument.metrics.gauge.LazyDelegatingGauge][main] A gauge metric of an unknown type (org.jruby.specialized.RubyArrayOneObject) has been created for key: cluster\_uuids. This may result in invalid serialization. It is recommended to log an issue to the responsible developer/development team.`Preformatted text`

Getting above error while parsing xml with below logstash.conf

input{  
file {  
path =\> "D:\Elk\filebeat-7.6.2-windows-x86\_64\XML\3jun1\*.txt"  
sincedb\_path =\> "NUL"  
start\_position =\> "beginning"  
}  
}

filter {  
if [path] =~ "SLIC" {  
mutate { replace =\> { "type" =\> "slic" } }  
}  
grok {  
match =\> [  
"message",  
"^[%{DATESTAMP:tslice}] %{GREEDYDATA} HttpClient.submit - POST : %{GREEDYDATA:inxml}"  
]  
}  
if "\_grokparsefailure" in [tags] {  
drop { }  
}  
xml {  
source =\> "inxml"  
#target =\> "xmldata"  
store\_xml =\> "false"  
xpath =\> ["/propertyAvailability/hotelRates/hotel/text()","hotelid"]

}  
if "\_grokparsefailure" in [tags] {  
drop { }  
} else {  
mutate {  
remove\_field =\> ["message", "inxml", "xmldata"]  
}  
mutate {  
convert =\> { "hotelid" =\> "string" }  
}  
}  
}

output {  
elasticsearch {  
hosts =\> ["[http://localhost:9200](http://localhost:9200)"]  
index =\> "dev3"  
#user =\> "elastic"  
#password =\> "changeme"  
}  
}

my xml is

\<?xml version="1.0" encoding="utf-16"?\> 1.0 false 1d69ba93-e71c-001c-06b1-f8f8e233ff5c 61b33e59-b9cf-d898-58f7-e48903d79b60 83860622-5508-4f1d-9d73-fca806da67b0 2020-08-20 2020-08-21 1 1 No 261 Avathi Village, Devanahalli Taluka Devanahalli 562110 Karnataka IN India +XXXXXXXXXXXXXXXX9 +918067418710 C 1 Property is not attached with any of the configured channels Property is not attached with any of the configured channels No 

stored in text file in this path

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/4/f4b7a7c870ff2bc70d74b62cac1fa65c598563cc.png)

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [June 3, 2020, 12:53pm UTC](https://discuss.elastic.co/t/2020-06-03t1702-261-warn-org-logstash-instrument-metrics-gauge-lazydelegatinggauge-main-a-gauge-metric-of-an-unknown-type-org-jruby-specialized-rubyarrayoneobject-has-been-created-for-key-cluster-uuids-this-may-result-in-invalid-seri/235540/2 "2020-06-03T12:53:59Z")

</div>

I see that warning too. I ignore it. Does it cause you a problem?

---

<div class="post-metadata">

**Author:** ![Puneeth\_S\_B\_Gowda1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/puneeth_s_b_gowda1/32/68544_2.png) [@Puneeth\_S\_B\_Gowda1](https://discuss.elastic.co/u/Puneeth_S_B_Gowda1)\
**Post date:** [June 3, 2020, 1:11pm UTC](https://discuss.elastic.co/t/2020-06-03t1702-261-warn-org-logstash-instrument-metrics-gauge-lazydelegatinggauge-main-a-gauge-metric-of-an-unknown-type-org-jruby-specialized-rubyarrayoneobject-has-been-created-for-key-cluster-uuids-this-may-result-in-invalid-seri/235540/3 "2020-06-03T13:11:04Z")

</div>

I need correct logstash configuration to parse my xml attribute could someone please share with me i have presentation tomorrow

---

<div class="post-metadata">

**Author:** ![Puneeth\_S\_B\_Gowda1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/puneeth_s_b_gowda1/32/68544_2.png) [@Puneeth\_S\_B\_Gowda1](https://discuss.elastic.co/u/Puneeth_S_B_Gowda1)\
**Post date:** [June 9, 2020, 8:55am UTC](https://discuss.elastic.co/t/2020-06-03t1702-261-warn-org-logstash-instrument-metrics-gauge-lazydelegatinggauge-main-a-gauge-metric-of-an-unknown-type-org-jruby-specialized-rubyarrayoneobject-has-been-created-for-key-cluster-uuids-this-may-result-in-invalid-seri/235540/4 "2020-06-09T08:55:57Z")

</div>

Unable parse required column from xml

---

<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 7, 2020, 9:04am UTC](https://discuss.elastic.co/t/2020-06-03t1702-261-warn-org-logstash-instrument-metrics-gauge-lazydelegatinggauge-main-a-gauge-metric-of-an-unknown-type-org-jruby-specialized-rubyarrayoneobject-has-been-created-for-key-cluster-uuids-this-may-result-in-invalid-seri/235540/5 "2020-07-07T09:04:45Z")

</div>

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