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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...