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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...