# What is the significance of add\_tags in mutate

**URL:** <https://discuss.elastic.co/t/what-is-the-significance-of-add-tags-in-mutate/59157>\
**Category:** Logstash\
**Created:** [August 29, 2016, 7:40am UTC](https://discuss.elastic.co/t/what-is-the-significance-of-add-tags-in-mutate/59157 "2016-08-29T07:40:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkhapre](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rkhapre/32/48333_2.png) [@rkhapre](https://discuss.elastic.co/u/rkhapre)\
**Post date:** [August 29, 2016, 7:40am UTC](https://discuss.elastic.co/t/what-is-the-significance-of-add-tags-in-mutate/59157/1 "2016-08-29T07:40:56Z")

</div>

Hi All

I want to understand the significance of add\_tags in mutate filter

Does it mean a description field has multiple keywords and we add tags to that

For example : Description : This is **really** a **good**  **example**

So we can tag **really, good and example** as different value for this new field?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [August 29, 2016, 8:43am UTC](https://discuss.elastic.co/t/what-is-the-significance-of-add-tags-in-mutate/59157/2 "2016-08-29T08:43:56Z")

</div>

I don't really understand the question, but the `add_tag` option simply adds one or more strings to the `tags` field, which is an array of strings. It's as simple as that.

---

<div class="post-metadata">

**Author:** ![rkhapre](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rkhapre/32/48333_2.png) [@rkhapre](https://discuss.elastic.co/u/rkhapre)\
**Post date:** [August 29, 2016, 11:52am UTC](https://discuss.elastic.co/t/what-is-the-significance-of-add-tags-in-mutate/59157/3 "2016-08-29T11:52:12Z")

</div>

Thanks for your reply.  
I think i got the agenda on add\_tag and its usage after reading your message

---

<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 6, 2017, 4:41am UTC](https://discuss.elastic.co/t/what-is-the-significance-of-add-tags-in-mutate/59157/4 "2017-07-06T04:41:09Z")

</div>

Closed on July 6, 2017, 4:41am UTC


