# Merge different log files to create single event

**URL:** <https://discuss.elastic.co/t/merge-different-log-files-to-create-single-event/101066>\
**Category:** Logstash\
**Created:** [September 19, 2017, 7:32pm UTC](https://discuss.elastic.co/t/merge-different-log-files-to-create-single-event/101066 "2017-09-19T19:32:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shashwat](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@shashwat](https://discuss.elastic.co/u/shashwat)\
**Post date:** [September 19, 2017, 7:32pm UTC](https://discuss.elastic.co/t/merge-different-log-files-to-create-single-event/101066/1 "2017-09-19T19:32:43Z")

</div>

Hi,

I have three log files. Each being generated at different time in a day. Is there any option available in logstash where I can combine the records from each of the log file based on some common key present in each of them?

Thanks,

---

<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:** [October 17, 2017, 7:33pm UTC](https://discuss.elastic.co/t/merge-different-log-files-to-create-single-event/101066/2 "2017-10-17T19:33:13Z")

</div>

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