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
Get Updates on the Splunk Community!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...