Dashboards & Visualizations

How can I show a trend indicator while pivoting search from this Meta Woot! macro?



I have been using Meta Woot! to keep track of assets and their logging times. This search in particular, shows a single value of Hosts checking in but I'm unable to use timechart correctly to show trend indicators.

I've tried adding the following to no avail. Any suggestions would be greatly appreciated. 


| timechart span=1d count by host


Search string:


inputlookup meta_woot  where index=* sourcetype=* host=* | where recentTime>(now()-86400) | eval latency= round((recentTime-lastTime)/60,2)  | eval latency_type=if(latency<0,"Logging Ahead","Logging Behind") | eval latency=abs(latency) | eval latency_type=if(latency="0.00","No Latency",latency_type) | where latency>=0  | stats dc(host) as "Total Hosts"



Labels (2)
0 Karma

In first you should start the query with
| inputlookup .....
and change the last stats ... to timechart dc(host) as “Total Hosts”
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 ...