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!

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...