# Issue while configuring metricbeat in logstash version 7.16.3

**URL:** <https://discuss.elastic.co/t/issue-while-configuring-metricbeat-in-logstash-version-7-16-3/310677>\
**Category:** Logstash\
**Created:** [July 26, 2022, 6:24pm UTC](https://discuss.elastic.co/t/issue-while-configuring-metricbeat-in-logstash-version-7-16-3/310677 "2022-07-26T18:24:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subhanwita\_Mullick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/subhanwita_mullick/32/108874_2.png) [@Subhanwita\_Mullick](https://discuss.elastic.co/u/Subhanwita_Mullick)\
**Post date:** [July 26, 2022, 6:24pm UTC](https://discuss.elastic.co/t/issue-while-configuring-metricbeat-in-logstash-version-7-16-3/310677/1 "2022-07-26T18:24:02Z")

</div>

Hello,  
I am migrating the logstash to version 7.16.3 from 7.9.3. But there is some error while updating the metricbeat in logstash.

Error: Class org.jruby.RubyFloat cannot be cast to class Java.lang.double

PFA the screenshots for log and configuration.  
Need an urgent solution.

 ![IMG-20220726-WA0009](https://us1.discourse-cdn.com/elastic/original/3X/9/6/96d28a1682b24fac98b06c16871b95e457d1efaf.jpeg)  
 ![IMG20220727192651__01](https://us1.discourse-cdn.com/elastic/original/3X/6/3/63d9dee45dfb71d28fea21eb6d7e8106cbc80c14.jpeg)  
 ![IMG20220727192732__01](https://us1.discourse-cdn.com/elastic/original/3X/3/7/374be51139b462d57037687eb38d2cb4748ffd09.jpeg)  
 ![IMG20220727192818__01](https://us1.discourse-cdn.com/elastic/original/3X/4/e/4ecae0e38629ecdeda6239d52e9dd981e9cb7688.jpeg)  
 ![IMG20220727192828__01](https://us1.discourse-cdn.com/elastic/original/3X/5/4/5458c7cfdb15501c2fb2936bf6fab2f05d57a261.jpeg)

---

<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:** [August 23, 2022, 6:24pm UTC](https://discuss.elastic.co/t/issue-while-configuring-metricbeat-in-logstash-version-7-16-3/310677/2 "2022-08-23T18:24:51Z")

</div>

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