Getting Data In

UFW parsing JSON ERROR

bardill
Explorer
After we upgraded from 7.3 to 8.1.4, the UF can no longer read the json data.
07-21-2021 16:03:02.643 +0200 ERROR JsonLineBreaker - JSON StreamId:427620843244980635 had parsing error:Unexpected character while expecting ':': 'S' - data_source="/opt/uc4/srvavq/prod/share/ae/temp/toSplunk/OPT_REP/normal/ARIZON_CS_UC4_ActiveSchedJobs/P_AVQ_Aktive_Automic_Jobs_AVQPROD_0000000000000022.txt", data_host="xh515", data_sourcetype="P_AVQ_Aktive_Automic_Jobs_AVQPROD-too_small"

props.conf
[source::/opt/uc4/srvavq/*/share/ae/temp/toSplunk/ARIZON_CS/*/*/*.txt]
INDEXED_EXTRACTIONS = json
TIMESTAMP_FIELDS = Timestamp


Data File like this:
{"Timestamp" : 1626874253, "Anzahl" : "7", "userstamp" : "RM", "status" : "Processed", "taskname" : "task_secevt2_apply_sinstr.rm","env":"AVQPROD"}
{"Timestamp" : 1626874221, "Anzahl" : "1", "userstamp" : "IMED_65454_54222", "status" : "Processed", "taskname" : "rm.set_resp","env":"AVQPROD"}

Labels (1)
0 Karma
1 Solution

bardill
Explorer

Sorry that not help
We not read the splunkd.log as json!!

We read a log file over an APP

 

View solution in original post

0 Karma

venkatasri
SplunkTrust
SplunkTrust

Hi @bardill 

There is a lot of discussion on this one hope this helps - Forwarder tells me there's an "ERROR JsonLineBreak... - Splunk Community

--

An upvote would be appreciated if this reply helps!

0 Karma

bardill
Explorer

Sorry that not help
We not read the splunkd.log as json!!

We read a log file over an APP

 

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Request for Professional Development: Attending .conf26

Winning Over the Boss: Your Pass to .conf26 conf26 is going to be here before you know it. If don't already ...