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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...