# Collectd - Logstash not working

**URL:** <https://discuss.elastic.co/t/collectd-logstash-not-working/305632>\
**Category:** Logstash\
**Created:** [May 25, 2022, 4:52pm UTC](https://discuss.elastic.co/t/collectd-logstash-not-working/305632 "2022-05-25T16:52:33Z")\
**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:** [May 25, 2022, 7:35pm UTC](https://discuss.elastic.co/t/collectd-logstash-not-working/305632/2 "2022-05-25T19:35:34Z")

</div>

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

---

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