Getting Data In

JsonLineBreaker - JSON StreamId:5839877885617795466 had parsing error:Unexpected character while looking for value: ',' - data_source="/xxx/alarms.log", data_host="xxx, data_sourcetype="alarms"

ekatane
Explorer

Hello,

I'm getting this error : JsonLineBreaker - JSON StreamId:5839877885617795466 had parsing error:Unexpected character while looking for value: ',' - data_source="/xxx/alarms.log", data_host="xxx, data_sourcetype="alarms"

my input json :

{"alarm": {"attribute": [{"@id": "0x10000", "$": "xxx"},
{"@id": "0x11d42", "$": "xxxx"},
{"@id": "0x12022", "$": "0"},
{"@id": "0x12c05", "$": "Directly Managed"},
{"@id": "0x13345", "$": "0"},
{"@id": "0x12a07", "$": "0"},
{"@id": "0x12a06", "$": "0"},
{"@id": "0x1000a", "$": "3"},
{"@id": "0x11f4d", "$": "false"},
{"@id": "0x12b4c", "$": "TRAP LINK DOWN IS RECEIVED"},
{"@id": "0x11f4e", "$": "1568277283"},
{"@id": "0x1006e", "$": "xxxx"},
{"@id": "0x11f50", "$": "2228225"},
{"@id": "0x11f57", "$": "true"},
{"@id": "0x11f56", "$": "1"},
{"@id": "0x11f9b", "$": "true"},
{"@id": "0x129fa", "$": "0x6a800e"},
{"@id": "0x11f9c", "$": "5d7a0323-2fbf-154a-0564-008010400ab9"},
{"@id": "0x12d7f", "$": "xxxxx"}],
"@id": "5d7a0323-2fbf-154a-0564-008010400ab9"},
"@preexisting": false},
{"alarm": {"attribute":............................................................................................................................#MoreLines

My props Conf

[sourcetype
SHOULD_LINEMERGE = false
NO_BINARY_CHECK = true
CHARSET = UTF-8
disabled = false
TIME_PREFIX = {\"\@id\":\ \0x11f4e\"\, \"\$\":\ "
TIME_FORMAT = %s
INDEXED_EXTRACTIONS = JSON
category = Custom
pulldown_type = 1

Thanks for your help Guys!!

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...