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 (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| inputlookup lookup.csv
| eval PR_Tags=split(PR_Tags,",")
| mvexpand PR_Tags
| table PR_Tags
0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...