Dashboards & Visualizations

How to redirect default drilldown for a cell value to open in a new window?

surekhasplunk
Communicator

I have added default drilldown for a cell value.
How to redirect it to a new window?

Tags (2)
0 Karma

vnravikumar
Champion

Hi

Try like

<dashboard>
  <label>drilldown</label>
  <row>
    <panel>
      <table>
        <search>
          <query>index=_internal |stats count by source</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="drilldown">cell</option>
        <drilldown>
          <link target="_blank">search?q=index=_internal%20%7Cstats%20count%20by%20source%20%7Cwhere%20source="$row.source$"&amp;earliest=-24h@h&amp;latest=now</link>
        </drilldown>
      </table>
    </panel>
  </row>
</dashboard>
0 Karma

surekhasplunk
Communicator

Hi @vnaravikumar,

This works when you have a new dashboard or a new query .
What should i write in that query ???
My full query thats a huge one.

0 Karma

vnravikumar
Champion

Hi

What info are you want to display in the new window?

0 Karma

surekhasplunk
Communicator

Just whatever default drilldown option takes me to the same one but in new window

0 Karma

vnravikumar
Champion

Go through the above URL. If you are not clear please let me know.

0 Karma

vnravikumar
Champion

Check this app, it contains drilldown samples
https://splunkbase.splunk.com/app/1603/

0 Karma

vnravikumar
Champion

For more info, please refer the following link

https://docs.splunk.com/Documentation/Splunk/7.2.5/Viz/DrilldownIntro

0 Karma

HiroshiSatoh
Champion
If it's just another window
  <drilldown target="My New Window">

If it's new every time
<drilldown target="_blank">
0 Karma

surekhasplunk
Communicator

Hi @HiroshiSatoh

How do i write that here ? Its not taking.

 <option name="dataOverlayMode">none</option>
  <option name="drilldown">cell</option>
  <option name="refresh.display">progressbar</option>

Can you mention the complete line or block.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...