Splunk Search

When there is no result filed is displays as "No logon found". I want to color that value "

Flyhigh1010
Loves-to-Learn Lots

the below displays first login in the system. If user has no logon information, it should display "No logon found" in Amber color.

When there is no result , it displays as "No logon found". I want to color that value "No logon Found" single value panel

 

 

index=XXX sourcetype="XXXX" source="*.log" user=XXXX AAA
| eval Authentication=case(XXXXXX)
| eval CredType=case(XXXX)
| eval ProductType=case(XXX)
| rename xxx As "xxxy"
| eval Time=strftime(_time,"%d %B %Y")
| stats earliest(Time) AS FirstLogin| append
[ stats count
| where count=0
| eval Messge="No data found"]
| fillnull value="No Logon Found" FirstLogin
| fields FirstLogin

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

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

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...