Getting Data In

Line Breaker for sample Json

sriramakrishna_
New Member

Here is the JSON Sample. Please help
{"alertConfigId":"fggc040c38ea6097a557239","created":"2019-10-22T08:39:45Z","currentValue":{"number":1.29420086E8,"units":"BYTES"},"eventTypeName":"OUTSIDE_METRIC_THRESHOLD","groupId":"5da99671c38ea60754b28014","hostId":"e79903b6775f5481d0bf5c00e9053d66","hostnameAndPort":"xx.xx.x:27017","id":"5daec051c38ea6097a557268","lastNotified":"2019-10-28T12:12:22Z","links":[{"href":"http://xx.xx.xx:8080/api/public/v1.0/groups/5da99671c38ea60754b28014/alerts/5daec051c38ea6097a557268...}

Here is my props.conf
[custom]
BREAK_ONLY_BEFORE = {\"alertConfigId\"
SHOULD_LINEMERGE=true
KV_MODE=json

0 Karma

mayurr98
Super Champion

Use these settings:

[custom]
SHOULD_LINEMERGE=false
LINE_BREAKER=(,){"alertConfigId
KV_MODE=json
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!

Catalog Is Now Generally Available on Splunk Cloud Platform

A Unified View of Your Data  Security logs, application events, business data, and historical telemetry often ...

Developer Spotlight with Eduard Lekanne

From Network Engineer to Building Agentic AI for Splunk Eduard Lekanne has been architecting technology ...

From Data Landing to Insight

Search Across More of Your Data Ecosystem The data you need may live in Splunk, high-volume machine data, ...