# Json parse error, original data now in message field ParserError: Unexpected end of input within/between array entries

**URL:** <https://discuss.elastic.co/t/json-parse-error-original-data-now-in-message-field-parsererror-unexpected-end-of-input-within-between-array-entries/238471>\
**Category:** Logstash\
**Created:** [June 24, 2020, 1:03pm UTC](https://discuss.elastic.co/t/json-parse-error-original-data-now-in-message-field-parsererror-unexpected-end-of-input-within-between-array-entries/238471 "2020-06-24T13:03:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbilal](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@mbilal](https://discuss.elastic.co/u/mbilal)\
**Post date:** [June 24, 2020, 1:03pm UTC](https://discuss.elastic.co/t/json-parse-error-original-data-now-in-message-field-parsererror-unexpected-end-of-input-within-between-array-entries/238471/1 "2020-06-24T13:03:22Z")

</div>

JSOn data:

{  
"EventID":1,  
"MachineName":''ABC',  
EntryType" :"Error",  
"Message" : "Stopped",  
"Source":"ABC",  
"TimeGenerated":"06/23/2020 06:50:40",  
"TimeWritten":"06/23/2020 06:50:40",  
"UserName": "",  
"Site": ""  
}

logstash configuration:

input  
{  
beats  
{  
host =\> "localhost"  
port=\>9600  
codec=\> "json"  
}  
}  
output{  
elasticsearch{  
hosts=\>{"localhost:92000"  
index=\>"json-index"  
}  
}

---

<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:** [July 22, 2020, 1:03pm UTC](https://discuss.elastic.co/t/json-parse-error-original-data-now-in-message-field-parsererror-unexpected-end-of-input-within-between-array-entries/238471/2 "2020-07-22T13:03:24Z")

</div>

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