Splunk Search

Drilldown for transaction search time range not correct

tbrown
Path Finder

I have a panel on my dashboard that is a list of transactions. I edited the drill-down to link to the search of the transaction when I click on one of the transactions on the panel. However, the search that it links to does not show the transaction successfully because the time range is not set correctly. The search gets the beginning time of the transaction correct, but it sets the end time as only 1 second after the beginning time. How do I change this automatic 1 second interval in the search to a 2 minute interval?

Labels (4)
Tags (2)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

The answer probably lies in generating tokens for the drilldown as part of the search drilldown, e.g.

 

<drilldown>
  <eval token="latest">relative_time($row._time$,"+2m")</eval>
</drilldown>

 

but that will depends on what your data looks like and the result set, but hopefully this will point you in the right direction.

 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...