# How to split sometimes?

**URL:** <https://discuss.elastic.co/t/how-to-split-sometimes/293484>\
**Category:** Logstash\
**Created:** [January 4, 2022, 11:45pm UTC](https://discuss.elastic.co/t/how-to-split-sometimes/293484 "2022-01-04T23:45:04Z")\
**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:** [January 5, 2022, 5:15pm UTC](https://discuss.elastic.co/t/how-to-split-sometimes/293484/5 "2022-01-05T17:15:02Z")

</div>

See [this](https://discuss.elastic.co/t/getting-illegal-state-exception-error-while-pushing-logs-to-elasticsearch/290029/2) answer. Once you have indexed an document in which [cc-data][State] is an object any event that in which [cc-data][State] is text will be rejected.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-split-sometimes/293484)._
