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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...