Splunk Search

Text input field

chuck_life09
Path Finder

Hi,

In my dashboard i have set of inputs and when i submit the values gets stored in a lookup file. 

2 dropdowns , 1 multiselect and 1 text field

at times, user gives multiple items in the "Text input field" with "," , how do i separate the records while adding into CSV or after adding how can i separate it?

text input  name - Type

file , deik, disk, cpu, memory

... in the lookup file it shows like - file , deik, disk, cpu, memory. how do i separate it?

Tags (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try the split function.

... | eval text_field=split(text_field,",")
| mvexpand text_field
...
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...