All Apps and Add-ons

JSON syntax highlight reorders data

cirkit1
Explorer

We submit JSON log events to splunk enterprise.

When viewing the log in the raw text mode in splunk everything is fine and in the order data is generated.

But in the syntax highlighted mode it switches the order of the items in the array, specifically in alphabetical order.

Is there a way to turn this off?

Where is there documentation about how Splunk does this?

Tags (2)

shou
Explorer

One way around this we've found is to table out the field that contains the array, ie

| table _time host my_array{}

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...