# Not able to add custom field in heartbeat v6.5.3

**URL:** https://discuss.elastic.co/t/not-able-to-add-custom-field-in-heartbeat-v6-5-3/263606
**Category:** Beats
**Tags:** heartbeat
**Created:** [February 8, 2021, 1:53pm UTC](https://discuss.elastic.co/t/not-able-to-add-custom-field-in-heartbeat-v6-5-3/263606 "2021-02-08T13:53:49Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Kartikey\_Bhatore](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kartikey_bhatore/32/70145_2.png) [@Kartikey\_Bhatore](https://discuss.elastic.co/u/Kartikey_Bhatore)
#### Post date: [February 8, 2021, 1:53pm UTC](https://discuss.elastic.co/t/not-able-to-add-custom-field-in-heartbeat-v6-5-3/263606/1 "2021-02-08T13:53:50Z")

</div>

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.

> **[Heartbeat overview | Heartbeat Reference \[6.5\] | Elastic](https://www.elastic.co/guide/en/beats/heartbeat/6.5/heartbeat-overview.html)**

Thanks 🙂

---

<div class="post-metadata">

### Author: ![Andrew\_Cholakian1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrew_cholakian1/32/3612_2.png) [@Andrew\_Cholakian1](https://discuss.elastic.co/u/Andrew_Cholakian1)
#### Post date: [February 19, 2021, 8:44pm UTC](https://discuss.elastic.co/t/not-able-to-add-custom-field-in-heartbeat-v6-5-3/263606/2 "2021-02-19T20:44:23Z")

</div>

You can use the [fields](https://www.elastic.co/guide/en/beats/heartbeat/6.8/configuration-heartbeat-options.html#monitor-fields) option to do this. Something like:

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

```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 19, 2021, 10:44pm UTC](https://discuss.elastic.co/t/not-able-to-add-custom-field-in-heartbeat-v6-5-3/263606/3 "2021-03-19T22:44:33Z")

</div>

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