Splunk Cloud Platform

Single value for specific field

usmsplunksme
Explorer

HI fellow splunkers,

I am trying to count a distinct number of applications from our logs. Query is:

Index=something app!="null" | dedup app | stats count by app

i am looking to use the single value and trendline to show the number of "apps" and whether there has been a decrease or increase.

Labels (1)
0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust

HI

you should try:

index=foo app=*
| timechart span=1d dc(app) as count_of_apps 

then select Single value as visualisation.

r. Ismo 

View solution in original post

0 Karma

isoutamo
SplunkTrust
SplunkTrust

HI

you should try:

index=foo app=*
| timechart span=1d dc(app) as count_of_apps 

then select Single value as visualisation.

r. Ismo 

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 ...