Getting Data In

Line breaking on JSON logs

Inayath_khan
Path Finder

Hi Guys,

Can anyone please help me with line braking for the below json log,

{
"totalSize" : 473,
"done" : true,
"records" : [ {
"attributes" : {
"type" : "SetupAuditTrail",
"url" : "/services/data/v48.0/sobjects/SetupAuditTrail/0"
},
"Action" : "deactivateduser",
"CreatedByContext" : null,
"CreatedById" : "0052v00000",
"CreatedByIssuer" : null,
"CreatedDate" : "2020-05-18T03:35:57.000+0000",
"DelegateUser" : null,
"Display" : "Deactivated user xyz",
"Id" : "0Ym2j0000012ACtCAM",
"Section" : "Manage Users",
"ResponsibleNamespacePrefix" : null
}, {
"attributes" : {
"type" : "SetupAuditTrail",
"url" : "/services/data/v48.0/sobjects/SetupAuditTrail/0Ym2j00000"
},
"Action" : "changedUserEmailVerifiedStatusVerified",
"CreatedByContext" : null,
"CreatedById" : "0052v00000",
"CreatedByIssuer" : null,
"CreatedDate" : "2020-05-18T05:51:45.000+0000",
"DelegateUser" : null,
"Display" : "For user xyz@xyz.com, the User Verified Email status changed to verified",
"Id" : "0Ym2j00000",
"Section" : "Manage Users",
"ResponsibleNamespacePrefix" : null
}, {
"attributes" : {
"type" : "SetupAuditTrail",
"url" : "/services/data/v48.0/sobjects/SetupAuditTrail/0Ym2j00"
},
"Action" : "changeApplicationContactEmail",
"CreatedByContext" : null,
"CreatedById" : "00000",
"CreatedByIssuer" : null,
"CreatedDate" : "2020-05-18T06:08:08.000+0000",
"DelegateUser" : null,
"Display" : "Changed Connected App Contact Email from none to xyz@xyz.com",
"Id" : "0Ym2j0",
"Section" : "Application",
"ResponsibleNamespacePrefix" : null
}, {

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Where do you want to break it?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...