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
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...