Dashboards & Visualizations

How to retrieve strings divided by commas in a csv file?

KalebeRS
Explorer

Hello,

I'm kinda blocked on how to retrieve data from a csv file. Need to get each value from a line to be shown in a dropdown filter. But don't know how Exactly to retrieve the strings.

For example:

KalebeRS_0-1686570024196.png

Each line has a different set of tags that I have to show in the filter.
How can I retrieve each of these values individually to show in the filter?

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| inputlookup lookup.csv
| eval PR_Tags=split(PR_Tags,",")
| mvexpand PR_Tags
| table PR_Tags
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

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

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...