# Logstash xml plugin not working

**URL:** <https://discuss.elastic.co/t/logstash-xml-plugin-not-working/217772>\
**Category:** Logstash\
**Created:** [February 4, 2020, 10:55am UTC](https://discuss.elastic.co/t/logstash-xml-plugin-not-working/217772 "2020-02-04T10:55:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [February 4, 2020, 4:55pm UTC](https://discuss.elastic.co/t/logstash-xml-plugin-not-working/217772/3 "2020-02-04T16:55:46Z")

</div>

If the XML is spread across multiple lines you would need to use a multiline codec to combine all the lines in one XML document into a single event. See [this](https://discuss.elastic.co/t/parsing-xml-log-file-with-logstash/167306/2) for an example.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-xml-plugin-not-working/217772)._
