logstash getting "Unexpected character ('n' (code 110)): was expecting comma to separate Object entries"
search cancel

logstash getting "Unexpected character ('n' (code 110)): was expecting comma to separate Object entries"

book

Article ID: 420207

calendar_today

Updated On:

Products

DX Operational Observability

Issue/Introduction

I have updated the syslog configuration file as per documentation but the below error is reporting many time in the logcollector log:

Unexpected character ('n' (code 110)): was expecting comma to separate Object entries

 

Environment

DX O2

Cause

Configuration issue, the below. option.json="on" is missing in the customer syslog config file

Current line

template(name="ls_json" type="list") {

 

As per techdocs documentation 

template(name="ls_json" type="list" option.json="on") {

 

Resolution

Add the option.json="on" the syslog conf file