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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...