Splunk Search
Highlighted

chart drilldown to another chart in popup window

Builder

I have a chart that I want to drilldown on and display another graph based on the drilldown results in a popup window. Here's the code that executes when I click on the graph.


sourcetype="orion*detaildaily" OR sourcetype="gomezdata" | eval

percentavail=coalesce(percentavail,avail) | eval tier = if
(sourcetype="OrionServerDetailDaily","Server",if
(sourcetype="Orion
ApplicationDetailDaily","Application","User")) | stats avg(percent_avail)
by tier



addterm

"YRI MW"


testview
True


Can somebody help me with writing the "testview" to display my graph in a new window?

Highlighted

Re: chart drilldown to another chart in popup window

Splunk Employee
Splunk Employee

I have bookmarked this and will come back with an answer as soon as I have a spare cycle or two.

0 Karma
Highlighted

Re: chart drilldown to another chart in popup window

Builder

Hey Alex, I actually got it figured out. See my code below in the answer

0 Karma
Highlighted

Re: chart drilldown to another chart in popup window

Builder

See the code below for the "testview" view. It automatically took my search criteria from above and automagically populated my hidden search in "testview" with the results!



True


True
False

100

column
0
none
20

100%



View solution in original post