How to change number format in Logstash

I have numbers like

1.553
23
2.383
26
566

When I parse this with logstash, I get string value of these.

When I try to use mutate filter plugin like below;

mutate {
     convert => {
            "number_field" => "integer"
      }
}

It returns wrong.

I mean as an example, 2.383 as input goes 2 as output .

My expections is below

1553
23
2383
566

How can i solve this ?

Thanks for answering

Use integer_eu instead of integer.

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