# Add tags via kibana - best practice

**URL:** https://discuss.elastic.co/t/add-tags-via-kibana-best-practice/173808
**Category:** Beats
**Created:** [March 25, 2019, 5:52pm UTC](https://discuss.elastic.co/t/add-tags-via-kibana-best-practice/173808 "2019-03-25T17:52:45Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)
#### Post date: [March 25, 2019, 5:52pm UTC](https://discuss.elastic.co/t/add-tags-via-kibana-best-practice/173808/1 "2019-03-25T17:52:45Z")

</div>

Hi,

maybe this topic may be better placed in elasticsearch, but I want to enable the kibana user to do that, so I start this topic here.

I have a loadtest environment set up. Multiple servers are included. Metricbeat is fetching metrics like cpu, network, memory, diskio, etc. I also have the logs of the tested system (our application) and of the load generator (e.g. jmeter) in elasticsearch.

Ich want total give each testrun a special tag to identify them later. what is the best way to do so?

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [March 27, 2019, 2:51pm UTC](https://discuss.elastic.co/t/add-tags-via-kibana-best-practice/173808/2 "2019-03-27T14:51:53Z")

</div>

@asp I'm going to move this topic to the "Beats" section, as there isn't a general purpose way of accomplishing this within Kibana itself, but there might be a beats specific way of doing what you're looking for.

---

<div class="post-metadata">

### Author: ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)
#### Post date: [March 27, 2019, 2:56pm UTC](https://discuss.elastic.co/t/add-tags-via-kibana-best-practice/173808/3 "2019-03-27T14:56:59Z")

</div>

That would mean changing all beats of affected systems before starting the the loadtest, right?  
Hoped to find sth better 😉

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [March 27, 2019, 3:01pm UTC](https://discuss.elastic.co/t/add-tags-via-kibana-best-practice/173808/4 "2019-03-27T15:01:38Z")

</div>

> That would mean changing all beats of affected systems before starting the the loadtest, right?  
> Hoped to find sth better

I'm hoping it doesn't come down to that either. Unfortunately, there isn't a general purpose way in Kibana of doing a mass update of document to add a specific tag, outside of using the Dev Tools and using a [Update by Query](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html) using some criteria to select the already indexed documents. It's also potentially possible to augment the ingestion of the metricbeat data to go through something like [ingest node](https://www.elastic.co/guide/en/elasticsearch/reference/master/ingest.html) or [logstash](https://www.elastic.co/guide/en/logstash/current/introduction.html), so you could have a central place to update the "tag" before starting the load test run.

The beats team might have other ideas as well 🙂

---

<div class="post-metadata">

### Author: ![asp](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@asp](https://discuss.elastic.co/u/asp)
#### Post date: [March 27, 2019, 3:08pm UTC](https://discuss.elastic.co/t/add-tags-via-kibana-best-practice/173808/5 "2019-03-27T15:08:58Z")

</div>

ok, thanks. Lets see with what Ideas they are coming up ,-)

---

<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: [April 24, 2019, 3:09pm UTC](https://discuss.elastic.co/t/add-tags-via-kibana-best-practice/173808/6 "2019-04-24T15:09:06Z")

</div>

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