Dashboards & Visualizations

yesterday & last week data

Bradd23
Loves-to-Learn Lots

Hi All,

This might sounds obvious but i've spend sometimes on this without getting right output.

Actually I have an xml dashboard with a Time Input that has several values (Today, yesterday ...) and for today's date selection I want to show yesterday data and last week data as bar chart, Also for anything other than today's date selection from Time Input I want to show that day data along with its previous week data.

Thanks

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You can use the timepicker change handler to set additional tokens based on the times selected.

0 Karma

michel_wolf
Path Finder

Hi Bradd,

every time I have this usecase I try to use 2 time picker for 2 different Inputs to build an inner and outer search with a | append command to compare two different time frames. Maybe this idea will help you.

Michel

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...