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 

View solution in original post

0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!