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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...