# How to get field in xml?

**URL:** https://discuss.elastic.co/t/how-to-get-field-in-xml/249609
**Category:** Logstash
**Created:** [September 23, 2020, 5:56am UTC](https://discuss.elastic.co/t/how-to-get-field-in-xml/249609 "2020-09-23T05:56:15Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [September 23, 2020, 1:57pm UTC](https://discuss.elastic.co/t/how-to-get-field-in-xml/249609/2 "2020-09-23T13:57:47Z")

</div>

Use an xml filter. There are many examples in this forum of how to configure it, such as [this](https://discuss.elastic.co/t/help-logstash-xml-parsing-to-xpath/241051/2) one.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-get-field-in-xml/249609)._
