# Parsing very large xml file

**URL:** <https://discuss.elastic.co/t/parsing-very-large-xml-file/87608>\
**Category:** Logstash\
**Created:** [May 30, 2017, 5:50pm UTC](https://discuss.elastic.co/t/parsing-very-large-xml-file/87608 "2017-05-30T17:50:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![timj123](https://avatars.discourse-cdn.com/v4/letter/t/eb8c5e/32.png) [@timj123](https://discuss.elastic.co/u/timj123)\
**Post date:** [May 30, 2017, 5:50pm UTC](https://discuss.elastic.co/t/parsing-very-large-xml-file/87608/1 "2017-05-30T17:50:28Z")

</div>

I have a very large xml file around 1.9M lines of xml that I would like to do the following:

1. Use two TAGs under the root of the file to create a timestamp that ALL events in step two will use.

2. Create an events using the timestamp created in step one for all data between tag measInfo

I want to combine ReportStartDate and ReportStartTime to create a timestamp that all newly created events will use (Data between measInfo Tags)

Is this possilbe?

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 27, 2017, 5:50pm UTC](https://discuss.elastic.co/t/parsing-very-large-xml-file/87608/2 "2017-06-27T17:50:38Z")

</div>

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