Getting Data In

Using inputlookup .csv, how do we get columns to display in the same order as the CSV file, not alphabetical?

mikesangray
Path Finder

I'm using a few .csv files for lookups. When I display the .csv files, the column order is alphabetical. Is there a way to get the .csv file to display columns as they are in the file instead of alphabetical? For example, .csv order is: src,customer,comment, but this displays as comment customer src

Tags (3)
0 Karma
1 Solution

mikesangray
Path Finder

I'll answer my own question here...I can use |table to display how I want it...default will just be alphabetical.

View solution in original post

0 Karma

mikesangray
Path Finder

I'll answer my own question here...I can use |table to display how I want it...default will just be alphabetical.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...