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!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...