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!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...