# .JSON Conf File for Logstash

**URL:** <https://discuss.elastic.co/t/json-conf-file-for-logstash/343638>\
**Category:** Logstash\
**Created:** [September 22, 2023, 3:50pm UTC](https://discuss.elastic.co/t/json-conf-file-for-logstash/343638 "2023-09-22T15:50:43Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:** [September 22, 2023, 6:00pm UTC](https://discuss.elastic.co/t/json-conf-file-for-logstash/343638/9 "2023-09-22T18:00:47Z")

</div>

There is an example of using a multiline codec to consume an entire file [here](https://discuss.elastic.co/t/parsing-array-of-json-objects-with-logstash-and-injesting-to-elastic/203197/2). If your file contains multiple objects you will need to find a regexp that can match the end of a JSON object.

---

_[View the full topic](https://discuss.elastic.co/t/json-conf-file-for-logstash/343638)._
