# Failed to parse field \[\[observer.hostname\]\]

**URL:** <https://discuss.elastic.co/t/failed-to-parse-field-observer-hostname/293676>\
**Category:** Logstash\
**Created:** [January 6, 2022, 4:52pm UTC](https://discuss.elastic.co/t/failed-to-parse-field-observer-hostname/293676 "2022-01-06T16:52:42Z")\
**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:** [January 6, 2022, 5:08pm UTC](https://discuss.elastic.co/t/failed-to-parse-field-observer-hostname/293676/2 "2022-01-06T17:08:16Z")

</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 a document in which [observer.hostname] is a string, any event in which [observer.hostname] is an object (a hash) will be rejected.

---

_[View the full topic](https://discuss.elastic.co/t/failed-to-parse-field-observer-hostname/293676)._
