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!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...