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 Splunk Enterprise 9.2

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

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

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 ...