Kibana JSON input calc fields

Hi,

I use heartbeat for monitoring some url's. But unfortunately the resolving of my VPS is slow. So I would like to exclude the resolve.rtt.us field in a visualization.

In the visualization I use the monitor.duration.us field on the Y as. I try to do this calculation: monitor.duration.us - resolve.rtt.us.

{"script" : "doc['monitor.duration.us'].value - doc['resolve.rtt.us'].value"}

Above JSON input doesn't work. Could somebody help me with this?

Best regards,
Robin

Hi @Robin020,

Do you get a specific error message? Can you show me exactly where and how you're trying to use this script?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.