# Combined ID

**URL:** <https://discuss.elastic.co/t/combined-id/203037>\
**Category:** Kibana\
**Created:** [October 10, 2019, 1:53pm UTC](https://discuss.elastic.co/t/combined-id/203037 "2019-10-10T13:53:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![denim](https://avatars.discourse-cdn.com/v4/letter/d/3e96dc/32.png) [@denim](https://discuss.elastic.co/u/denim)\
**Post date:** [October 10, 2019, 1:53pm UTC](https://discuss.elastic.co/t/combined-id/203037/1 "2019-10-10T13:53:54Z")

</div>

Hi everyone,  
i have data for two different clusters in which the respective nodes have the same name - eg. clustername: henry, nodenames: node1, node2, node3; clustername: joe, nodename: node1, node2, node3.  
Now i want to create a visualisation in which the data is separated (e.g. separate chart) in the form clustername.nodename in one single visualisation.  
I think I need a way to create a kind of combined ID from clustername.nodename. Does anyone have any idea how to do this in Kibana?

Thanks in advance  
denim

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [October 10, 2019, 3:15pm UTC](https://discuss.elastic.co/t/combined-id/203037/2 "2019-10-10T15:15:41Z")

</div>

You should be able to do this with [scripted fields](https://www.elastic.co/guide/en/kibana/current/scripted-fields.html).

Be aware that doing this can negatively affect performance - if this becomes a problem for you, you can try to create the joined field during ingest (e.g. using logstash or an ingest pipeline)

---

<div class="post-metadata">

**Author:** ![denim](https://avatars.discourse-cdn.com/v4/letter/d/3e96dc/32.png) [@denim](https://discuss.elastic.co/u/denim)\
**Post date:** [October 11, 2019, 10:24am UTC](https://discuss.elastic.co/t/combined-id/203037/3 "2019-10-11T10:24:16Z")

</div>

Perfect. Using scripted fields worked perfectly for me. Thank you! 😀

---

<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:** [November 8, 2019, 10:24am UTC](https://discuss.elastic.co/t/combined-id/203037/4 "2019-11-08T10:24:22Z")

</div>

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