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!

Break the Build: Inside the KubeDoom Lounge at .conf26

    You step up to the machine. The pixelated corridors of a certain 1993 FPS load in front of you, EMP Pulse ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...