# Extracting fields from a linked xml file

**URL:** <https://discuss.elastic.co/t/extracting-fields-from-a-linked-xml-file/221402>\
**Category:** Logstash\
**Created:** [February 28, 2020, 10:33am UTC](https://discuss.elastic.co/t/extracting-fields-from-a-linked-xml-file/221402 "2020-02-28T10:33:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![djb000m](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/djb000m/32/67940_2.png) [@djb000m](https://discuss.elastic.co/u/djb000m)\
**Post date:** [February 28, 2020, 10:33am UTC](https://discuss.elastic.co/t/extracting-fields-from-a-linked-xml-file/221402/1 "2020-02-28T10:33:48Z")

</div>

Hi,

I am indexing xml files using Logstash, which is working fine.

Does anyone know if it is possible to grab values from an xml file linked to from within the xml file being processed by Logstash?

Specifically, my data is coming in xml format. Within these documents are fields which link to another xml file. Within the linked xml file is a tag containing a url for an image. I want to extract this url and index it along with the other fields in the original xml document.

Any thoughts, or solutions, greatly appreciated!

---

<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:** [March 27, 2020, 10:34am UTC](https://discuss.elastic.co/t/extracting-fields-from-a-linked-xml-file/221402/2 "2020-03-27T10:34:07Z")

</div>

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