# Json validator in logstash

**URL:** <https://discuss.elastic.co/t/json-validator-in-logstash/148475>\
**Category:** Logstash\
**Created:** [September 13, 2018, 3:47pm UTC](https://discuss.elastic.co/t/json-validator-in-logstash/148475 "2018-09-13T15:47:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malli](https://avatars.discourse-cdn.com/v4/letter/m/a3d4f5/32.png) [@Malli](https://discuss.elastic.co/u/Malli)\
**Post date:** [September 13, 2018, 3:47pm UTC](https://discuss.elastic.co/t/json-validator-in-logstash/148475/1 "2018-09-13T15:47:29Z")

</div>

I am using logstahs 2.3.4 and trying to parse thte json data. sometimes i am getting invalid json. I tried adding the skip\_on\_invalid\_json =\> 'true'. inside the json filter

i am getting error and not giving any details. it is prety generic error

:reason=\>"Something is wrong with your configuration.", :level=\>:error}←[0

skip\_on\_invalid\_json - can i use this property in logstash 2.3.4? if yes, what could be the reasons for the error.

Appreciate your help.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [September 13, 2018, 5:46pm UTC](https://discuss.elastic.co/t/json-validator-in-logstash/148475/2 "2018-09-13T17:46:40Z")

</div>

> i am getting error and not giving any details. it is prety generic error
> 
> :reason=\>"Something is wrong with your configuration.", :level=\>:error}←[0

Please show the full error message.

> skip\_on\_invalid\_json - can i use this property in logstash 2.3.4?

The Logstash 2.3 documentation will tell you which options are available for each plugin bundled with that release.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 11, 2018, 5:46pm UTC](https://discuss.elastic.co/t/json-validator-in-logstash/148475/3 "2018-10-11T17:46:42Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
