# Combine multiple sources

**URL:** <https://discuss.elastic.co/t/combine-multiple-sources/26795>\
**Category:** Logstash\
**Created:** [August 4, 2015, 12:07pm UTC](https://discuss.elastic.co/t/combine-multiple-sources/26795 "2015-08-04T12:07:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [August 4, 2015, 12:17pm UTC](https://discuss.elastic.co/t/combine-multiple-sources/26795/2 "2015-08-04T12:17:43Z")

</div>

Please see this topic:

> [@Possible to use logstash to merge data from multiple files?](https://discuss.elastic.co/t/possible-to-use-logstash-to-merge-data-from-multiple-files/26653):
>
> I've got two files, an xml file and a csv file. When I ingest the data from the csv file I want to add\_fields from the xml file. Here's what my xml looks like \<Root\> \<Date\>07.31.2015\</Run\> \<Customer\> \<Name\>John\</Name\> \<ID\>12345\</ID\> \</Customer\> \</Root\> And here is my csv column1,column2,column3 example1,example2,example3 example4,example5,example6 Now I want to pull Date and ID from the xml file and add those fields to each row of the csv when I pull it into elastic search, so…

---

_[View the full topic](https://discuss.elastic.co/t/combine-multiple-sources/26795)._
