# String concatenation

**URL:** <https://discuss.elastic.co/t/string-concatenation/190703>\
**Category:** Kibana\
**Created:** [July 16, 2019, 9:53am UTC](https://discuss.elastic.co/t/string-concatenation/190703 "2019-07-16T09:53:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smathew](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@smathew](https://discuss.elastic.co/u/smathew)\
**Post date:** [July 16, 2019, 9:53am UTC](https://discuss.elastic.co/t/string-concatenation/190703/1 "2019-07-16T09:53:19Z")

</div>

hello all, I have three string fields and am trying to concatenate. I tried scripting field but it was throwing error.

doc['message.keyword'].value +doc[process.keyword'].value

also, tried to create a bucket aggregation scripted field, I didn't get the syntax right

could you please guide me, am really new to Kibana and couldn't find any tutorial which could have helped.

Thanks,  
SM

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [July 18, 2019, 1:06pm UTC](https://discuss.elastic.co/t/string-concatenation/190703/2 "2019-07-18T13:06:10Z")

</div>

`doc['message'].value +doc[process'].value` should work. If not, try using raw instead of keyword.

---

<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:** [August 15, 2019, 1:14pm UTC](https://discuss.elastic.co/t/string-concatenation/190703/3 "2019-08-15T13:14:30Z")

</div>

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