Splunk Search

How to display custom search result after click on the graph?

jangid
Builder

I am having a graph that display what I want, when I click any given point it'll jump to the search result according to clicked item.

everything is fine - I want to modify this behavior based on the clicked item id.

When I click on graph, search result is

sourcetype="log_line" item_id="someid"

instead of above I want to display

sourcetype="log_line" "someid" | transaction startswith="TRNAS_BEGIN" endswith="TRNAS_END"

How to achieve this functionality?

Thanks

Tags (1)
0 Karma
1 Solution

MarioM
Motivator

This drilldown swap out search example will help you to achieve this

View solution in original post

MarioM
Motivator

This drilldown swap out search example will help you to achieve this

Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...