Dashboards & Visualizations

How to return or display the value that is being searched and if not coming in the search results

sriky
New Member

When i search multiple values like (search a OR b OR c OR d OR e) how i can return or display the value which is not coming in the search results

Tags (1)
0 Karma

woodcock
Esteemed Legend

This is the Sentinel Search problem discussed (with solution) here:

https://conf.splunk.com/session/2015/conf2015-LookupTalk.pdf

0 Karma

CarsonZa
Contributor

@skoelpin is referring to something like this

| appendpipe 
    [ |stats count(a) as a
    | eval empty=if(isnum(a),"0", "a")] 

you would have to add the append to for each category a, b, c... etc

0 Karma

sriky
New Member

if i try to add append for each category i am getting error as Error in 'appendpipe' command: The last argument must be a subsearch.

aaaa@gmail.com | appendpipe [stats count as 1] OR ccc@gmail.com| appendpipe [stats count as 2]

0 Karma

CarsonZa
Contributor

each append needs to be closed by "]". that closes the statement but you have a random OR in there

0 Karma

skoelpin
SplunkTrust
SplunkTrust

You will need to do a sub search and append the results onto the first search

0 Karma

sriky
New Member

Hi, Could you please show me some examples?

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...