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!

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Deprecation of Splunk Observability Kubernetes “Classic Navigator” UI starting ...

Access to Splunk Observability Kubernetes “Classic Navigator” UI will no longer be available starting January ...

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...