Hi, thank you again for your response. Generating data from a list that starts with _ seems to be ok, the error occurs after: | foreach _ip_addresses.*.value
[eval keyvalue=mvappend(keyvalue, "<<MATCHSTR>>" . "|" . '<<FIELD>>')]
| mvexpand keyvalue Specifically, it's "mvexpand keyvalue" that generates the error, because apparently "keyvalue" contains no data. When I run this search here: | makeresults
| eval data=mvappend("{
\"ip_addresses\": {
\"10.0.0.1\": {
\"value\": \"some v4 ip\",
\"expire\": 1749267900
},
\"2001:53f1:3:2ee:2252:12e3:228a:112a\": {
\"value\": \"some v6 ip\"
}
}
}","{
\"_ip_addresses\": {
\"10.0.0.2\": {
\"value\": \"some v4 ip\",
\"expire\": 1749267900
},
\"2001:53f1:3:2ee:2252:12e3:228a:112b\": {
\"value\": \"some v6 ip\"
}
}
}")
| mvexpand data
| rename data as _raw
| spath
| foreach _ip_addresses.*.value
[eval keyvalue=mvappend(keyvalue, "<<MATCHSTR>>" . "|" . '<<FIELD>>')]
| mvexpand keyvalue I get the error: Thank you!
... View more