Splunk Search

Stats list removes empty strings in the search GUI

nick405060
Motivator
| makeresults | eval a="1" | append [| makeresults | eval b="2"] | fillnull value="" | stats list(a)

vs.

| makeresults | eval a="1" | append [| makeresults | eval b="2"] | fillnull value="0" | stats list(a)

... shows only one result, even though

| makeresults | eval a="1" | append [| makeresults | eval b="2"] | fillnull value="" | stats list(a) AS z | eval w=mvcount(z) | table w

... counts 2. Isn't this the whole point of using fillnull? What's the most elegant workaround? This seems to be super dangerous and misleading

0 Karma

nick405060
Motivator

Per @dmarling a workaround to this bug is to fillnull with alt+255

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...