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!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...