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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...