How to change sub field type in logstash

Hi,

I have one property is coming from filebeat.

fields{
properties{
ID:String
}
}
i am trying to change the ID field to integer but it is giving error.
I tried mutate with fields.ID and "[fields][ID]" but the data type is not changing.
Can someone please proivde inputs on this.

Which version of Logstash? This might only work in 2.4 and later.

Thanks for your reply.We are using 2.3.4 version. Could you please post the syntax for it.

I suggest using the [fields][ID] notation with Logstash 2.4.

Thanks for your quick response..