Splunk Search

Why does the split function fail for list_split_failure_1 and 2 but succeeds for list_split_success?

rkoster
Explorer
| makeresults count=1
| eval list_split_failure_1 = "fail:,searching old data:,searching new"
| eval list_split_failure_2 = "fail:,searching old ata:,searching new"
| eval list_split_success = "fail:,searching old qata:,searching old dta:,searching old ta:,searching new"
| eval list_split_failure_1 = split(list_split_failure_1, ",")
| eval list_split_failure_2 = split(list_split_failure_2, ",")
| eval list_split_success = split(list_split_success, ",")


Can someone help me to understand why the split function fails for list_split_failure_1 and 2 but succeeds for list_split_success?

Labels (1)
0 Karma
1 Solution

johnhuang
Motivator

This issue was discussed a while back and the consensus is that it's a bug introduced on 8.2.x+

https://community.splunk.com/t5/Splunk-Search/Multivalue-field-which-contains-the-string-quot-data-q...

 

View solution in original post

johnhuang
Motivator

This issue was discussed a while back and the consensus is that it's a bug introduced on 8.2.x+

https://community.splunk.com/t5/Splunk-Search/Multivalue-field-which-contains-the-string-quot-data-q...

 

Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...