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?

Labels (1)
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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...