Kibana JSON input calc fields


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

In the visualization I use the field on the Y as. I try to do this calculation: -

{"script" : "doc[''].value - doc[''].value"}

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

Best regards,

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.