Not able to add custom field in heartbeat v6.5.3

Hello,

I am using heartbeat 6.5.3
can you please let me know a way or workaround to add field in my output.
Asking coz I am not able to find a way to add a field in this version in the documentation.

Thanks :slight_smile:

You can use the fields option to do this. Something like:

- type: http
  url: "http://www.elastic.co"
  fields:
    myField: myValue
  fields_under_root: true
  schedule: '@every 10s'