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 [email protected], 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 [email protected]",
"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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...