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
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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

Data Management Digest – May 2026

Welcome to the May 2026 edition of Data Management Digest!   As your trusted partner in data innovation, the ...