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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...