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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...