This is probably silly but here goes. I'm running heartbeat which pings a series of IP address. It hands back the rtt.us with a value of 10,000 and I want to converted a field from say 10,000 to 0.01. I was going to do this in scripted fields.
So I made sure that the field I was doing the operation against was defined as a number and not using the auto definition. For some reason it just won't do it. I keep getting an error message: "Script is invalid. View script preview for details".
I'm not super familiar with heartbeat so I may be missing something, but I don't see an rtt.us field listed in the docs. Are you sure you'er not looking for something like http.rtt.total.us?
Could you check your index mappings and confirm that rtt.us is mapped as a numeric type? Also, if you check the script preview, what error do you see if any?
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.