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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...