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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...