# Logstash xml input configuration: for multiple documents

**URL:** <https://discuss.elastic.co/t/logstash-xml-input-configuration-for-multiple-documents/243119>\
**Category:** Logstash\
**Created:** [July 29, 2020, 8:07pm UTC](https://discuss.elastic.co/t/logstash-xml-input-configuration-for-multiple-documents/243119 "2020-07-29T20:07:59Z")\
**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:** [July 29, 2020, 8:10pm UTC](https://discuss.elastic.co/t/logstash-xml-input-configuration-for-multiple-documents/243119/2 "2020-07-29T20:10:28Z")

</div>

The problem appears to be with [theXML][title]

```auto
<title>Activities Site</title>

```

that is a string (a "concrete value") but the mapping in elasticsearch expects it to be an object.

Check the [mapping](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-get-mapping.html) in elasticsearch.

Read [this](https://discuss.elastic.co/t/logstash-errors-mapper-parsing-exception-vs-illegal-argument-exception/236783/3) post and then [this](https://discuss.elastic.co/t/problem-logstash-outputs-elasticsearch-could-not-index-event-to-elasticsearch-wazuh-alerts-3-x-2020-05-30/235038/6) post.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-xml-input-configuration-for-multiple-documents/243119)._
