Dashboards & Visualizations

redirect to a hidden URL in table dashboard

arun_kant_sharm
Path Finder

Hi Experts,

In my tabular dashboard i want to redirect into another URL in row click.

index = generic| table resource , owner, results_link , date, timeHMS

I want to redirect my page that come in results_link, and I result_link field not visible in table dashboard.

for this i try:

<dashboard>
  <label>xyz</label>
  <row>
    <panel>
      <table>
        <search>
          <query>index = generic| table resource , owner, results_link , date, timeHMS</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
          <sampleRatio>1</sampleRatio>
        </search>
        <option name="count">50</option>
        <option name="dataOverlayMode">none</option>
        <option name="drilldown">cell</option>
        <option name="percentagesRow">false</option>
        <option name="rowNumbers">false</option>
        <option name="totalsRow">false</option>
        <option name="wrap">true</option>
        <fields>["resource" , "owner", "date", "timeHMS"]</fields> 
        <drilldown>
              <link>$click.value2|n$</link>
         </drilldown>
      </table>
    </panel>
  </row>
</dashboard>
Tags (2)
0 Karma

vnravikumar
Champion

Hi

check this

<dashboard>
  <label>xyz</label>
  <row>
    <panel>
      <table>
        <search>
          <query>|makeresults |eval date="31/01/2020",server="google",url="www.google.com"| table date,server,url</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
          <sampleRatio>1</sampleRatio>
        </search>
        <option name="count">50</option>
        <option name="dataOverlayMode">none</option>
        <option name="drilldown">cell</option>
        <option name="percentagesRow">false</option>
        <option name="rowNumbers">false</option>
        <option name="totalsRow">false</option>
        <option name="wrap">true</option>
        <fields>["date" , "server"]</fields>
        <drilldown>
          <eval token="u">replace($row.url$, "http://", ""</eval>
          <link target="_blank">
            <![CDATA[ http://$u$ ]]>
          </link>
        </drilldown>
      </table>
    </panel>
  </row>
</dashboard>
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...