# Some application logs are not getting indexed

**URL:** <https://discuss.elastic.co/t/some-application-logs-are-not-getting-indexed/287740>\
**Category:** Logstash\
**Created:** [October 26, 2021, 10:02pm UTC](https://discuss.elastic.co/t/some-application-logs-are-not-getting-indexed/287740 "2021-10-26T22:02:41Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [October 27, 2021, 4:18pm UTC](https://discuss.elastic.co/t/some-application-logs-are-not-getting-indexed/287740/5 "2021-10-27T16:18:24Z")

</div>

See [this](https://discuss.elastic.co/t/cant-get-text-on-a-start-object/244340) post and follow the links from it. [response][body] and [request][body] cannot be text in some documents and an object in others. It has to be one or the other. Even if you fix your problem with the index name this will not fix the mapping exceptions.

---

_[View the full topic](https://discuss.elastic.co/t/some-application-logs-are-not-getting-indexed/287740)._
