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 Splunk Platform & Observability Innovations at Cisco Live EMEA

Hi Splunkers, Learn about what’s next for Splunk Platform at Cisco Live EMEA.  Data silos are a big challenge ...

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...