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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...