# Comparing and Combining fields from " Different LOG TYPES " and form a new field

**URL:** <https://discuss.elastic.co/t/comparing-and-combining-fields-from-different-log-types-and-form-a-new-field/100476>\
**Category:** Logstash\
**Created:** [September 14, 2017, 7:44am UTC](https://discuss.elastic.co/t/comparing-and-combining-fields-from-different-log-types-and-form-a-new-field/100476 "2017-09-14T07:44:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sushanth](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@sushanth](https://discuss.elastic.co/u/sushanth)\
**Post date:** [September 14, 2017, 7:44am UTC](https://discuss.elastic.co/t/comparing-and-combining-fields-from-different-log-types-and-form-a-new-field/100476/1 "2017-09-14T07:44:05Z")

</div>

I have two different files one with CSV and one with XML  
Both has one common field and data has to be stored as a single set from both files  
To achieve that, I have now parsed and stored CSV first  
then while parsing XML I used "elastic-search-filter" plugin to query the data from previous log and added fields.  
Is there any way to do that without storing the CSV to elastic search first, in a way can I parse both log types and compare and combine fields in one go ?

---

<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 12, 2017, 7:44am UTC](https://discuss.elastic.co/t/comparing-and-combining-fields-from-different-log-types-and-form-a-new-field/100476/2 "2017-10-12T07:44:06Z")

</div>

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