Hello, I'm trying to convert a nested json field from a string to an integer. But i am not getting field into Integer.
field Name:
events.data.custom_attributes.txn_total_time_to_complete_in_sec
Code:
mutate {convert => { "events.data.custom_attributes.txn_total_time_to_complete_in_sec" => "integer" }}
OR
mutate {convert => { "[events][data[custom_attributes][txn_total_time_to_complete_in_sec]" => "integer" }}
Can you please help on this.