hey I am tried to run this command in a scripted filed
if (doc['tunnels_map.rx_stats.counters.packets_lost'].size() != 0 && doc['tunnels_map.rx_stats.counters.packets'].size() != 0)
{doc['tunnels_map.rx_stats.counters.packets_lost'].value / doc['tunnels_map.rx_stats.counters.packets'].value }
when I got the result I got an integer result and I am looking for a float result...
I am tried to split the fileds to a float variable and it doesn't work also..
I am looking forward to your response