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
doc['tunnels_map.rx_stats.counters.packets_lost'].value and doc['tunnels_map.rx_stats.counters.packets'].value are most likely integers - to calculate a ratio you need to cast them to floats:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.