Dashboards & Visualizations

How do you create a time range based off a _time-based token?

fetterman
Engager

I'm trying to pass the time parameter from an event clicked in one dashboard, into another dashboard. The receiving dashboard will display a 10 minute window (earliest=5 minutes preceding the event, latest=5 minutes after the event).

I'm using the following parameters (form.field1 is a time picker):

form.field1.earliest = $row._time$-300s
form.field1.latest = $row._time$+300s

I find that the time value is being passed over, but +-300s / 5m / etc. does not get evaluated, only appended to the time string.

0 Karma

fetterman
Engager
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!

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...

Build and Launch AI Agents from Your Splunk Workflows

  Register We’ve all been there: juggling alerts, runbooks, and endless manual searches. What if you could ...

Splunk Cloud Application Management in Terraform

Register   On Tuesday, August 4 at 11AM PDT / 2PM EDT, we’re diving into how you can bring Infrastructure as ...