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!

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...

Build and Launch AI Agents from Your Splunk Workflows

  Register We’ve all been there: juggling alerts, runbooks, and endless manual searches. What if you could ...

Splunk Cloud Application Management in Terraform

Register   On Tuesday, August 4 at 11AM PDT / 2PM EDT, we’re diving into how you can bring Infrastructure as ...