# How to add custom field in Topbeat

**URL:** <https://discuss.elastic.co/t/how-to-add-custom-field-in-topbeat/40588>\
**Category:** Beats\
**Created:** [January 31, 2016, 3:23pm UTC](https://discuss.elastic.co/t/how-to-add-custom-field-in-topbeat/40588 "2016-01-31T15:23:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ponmoh](https://avatars.discourse-cdn.com/v4/letter/p/eb8c5e/32.png) [@ponmoh](https://discuss.elastic.co/u/ponmoh)\
**Post date:** [January 31, 2016, 3:23pm UTC](https://discuss.elastic.co/t/how-to-add-custom-field-in-topbeat/40588/1 "2016-01-31T15:23:08Z")

</div>

Hello,  
How to add custom fields in Topbeat yml as it is in filebeat prospectors fields ?

thanks,

Mohan.

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [January 31, 2016, 7:42pm UTC](https://discuss.elastic.co/t/how-to-add-custom-field-in-topbeat/40588/2 "2016-01-31T19:42:51Z")

</div>

Fields are currently not supported in topbeat. You can use "tags" which are part of the shipper config: [https://www.elastic.co/guide/en/beats/topbeat/current/topbeat-configuration-options.html#\_tags](https://www.elastic.co/guide/en/beats/topbeat/current/topbeat-configuration-options.html#_tags)

---

<div class="post-metadata">

**Author:** ![Ron\_Pritchett](https://avatars.discourse-cdn.com/v4/letter/r/c67d28/32.png) [@Ron\_Pritchett](https://discuss.elastic.co/u/Ron_Pritchett)\
**Post date:** [February 16, 2016, 8:04pm UTC](https://discuss.elastic.co/t/how-to-add-custom-field-in-topbeat/40588/3 "2016-02-16T20:04:26Z")

</div>

This would be a useful feature. Is it being planned for a future release?

---

<div class="post-metadata">

**Author:** ![ruflin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ruflin/32/3116_2.png) [@ruflin](https://discuss.elastic.co/u/ruflin)\
**Post date:** [February 16, 2016, 8:55pm UTC](https://discuss.elastic.co/t/how-to-add-custom-field-in-topbeat/40588/4 "2016-02-16T20:55:45Z")

</div>

Best is to have a look at this issue: [https://github.com/elastic/beats/issues/726](https://github.com/elastic/beats/issues/726)

---

<div class="post-metadata">

**Author:** ![szcountryboy](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@szcountryboy](https://discuss.elastic.co/u/szcountryboy)\
**Post date:** [March 8, 2016, 8:43am UTC](https://discuss.elastic.co/t/how-to-add-custom-field-in-topbeat/40588/5 "2016-03-08T08:43:58Z")

</div>

You can try this way

input{  
...  
}

filter {  
mutate { add\_field =\> {"field\_name" =\> "field\_value"} }  
}

output {  
...  
}

---

<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:** [July 5, 2017, 9:54pm UTC](https://discuss.elastic.co/t/how-to-add-custom-field-in-topbeat/40588/6 "2017-07-05T21:54:50Z")

</div>


