# Concatenate all fields of an event to message field?

**URL:** <https://discuss.elastic.co/t/concatenate-all-fields-of-an-event-to-message-field/142541>\
**Category:** Logstash\
**Created:** [August 1, 2018, 10:45am UTC](https://discuss.elastic.co/t/concatenate-all-fields-of-an-event-to-message-field/142541 "2018-08-01T10:45:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pierre\_ALLYNDREE](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierre_allyndree/32/49408_2.png) [@Pierre\_ALLYNDREE](https://discuss.elastic.co/u/Pierre_ALLYNDREE)\
**Post date:** [August 1, 2018, 10:45am UTC](https://discuss.elastic.co/t/concatenate-all-fields-of-an-event-to-message-field/142541/1 "2018-08-01T10:45:49Z")

</div>

Hello,

We are using the JDBC plugin to get some rows from a table.  
That works, and I can see some input event retrieved from the ORACLE database.  
I would want to concatenate all the fields of the returned database rows in a JSON to be stored in the "message" header of the event.

Looks a filter action, but don't know how to write that !

Any idea ?

Thanks,

PALY

---

<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 29, 2018, 10:45am UTC](https://discuss.elastic.co/t/concatenate-all-fields-of-an-event-to-message-field/142541/2 "2018-08-29T10:45:49Z")

</div>

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