# Combine message parts from Logfiles that share the same id and write them into new document

**URL:** https://discuss.elastic.co/t/combine-message-parts-from-logfiles-that-share-the-same-id-and-write-them-into-new-document/87226
**Category:** Logstash
**Created:** [May 26, 2017, 10:01am UTC](https://discuss.elastic.co/t/combine-message-parts-from-logfiles-that-share-the-same-id-and-write-them-into-new-document/87226 "2017-05-26T10:01:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jasdf](https://avatars.discourse-cdn.com/v4/letter/j/50afbb/32.png) [@jasdf](https://discuss.elastic.co/u/jasdf)
#### Post date: [May 26, 2017, 10:01am UTC](https://discuss.elastic.co/t/combine-message-parts-from-logfiles-that-share-the-same-id-and-write-them-into-new-document/87226/1 "2017-05-26T10:01:21Z")

</div>

Hello,

I have several log files that share the same id.  
I want to extract the message part out of them and write these in a new document so you can see the "progress" in one document.  
I tried the aggregate filter and many different more options but none of them brought me to the result I want.  
Do you have any suggestion what a possible solution could be?  
Thanks in advance!

---

<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: [June 23, 2017, 10:01am UTC](https://discuss.elastic.co/t/combine-message-parts-from-logfiles-that-share-the-same-id-and-write-them-into-new-document/87226/2 "2017-06-23T10:01:26Z")

</div>

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