Dashboards & Visualizations

Unable to open external link in new tab ; -blank not working

saramamurthy_sp
Splunk Employee
Splunk Employee

I want to open a external link in our Splunk app that opens in a new browser tab.

By default it opens in the same window.My splunk version is 6.5.0.

This is what we have used :

but it does not seem to work .

Kindly,help me to fix the issue.

Tags (1)
0 Karma

swmishra_splunk
Splunk Employee
Splunk Employee

In Splunk 7.2.x opening an external link in a new tab from the app navigation bar works. Example data/ui/nav/default.xml file including a link to the Splunk Developer Portal:

Splunk Developer Portal

Please Note:-It works only for 7.2.x versions and above.Tried it with lower versions(for ex.6.5.x) of splunk and it's not working.For 7.2.x it works for pre-defined apps as well as custom apps also.

kamlesh_vaghela
SplunkTrust
SplunkTrust

@saramamurthy

You can use target="_blank" in link. Please try below sample dashboard.

<dashboard>
  <label>HTMLLink</label>
  <row>
    <panel>
      <html>
        <a href="http://www.google.com" target="_blank">Google</a>
      </html>
    </panel>
    <panel>
      <table>
        <search>
          <query>| makeresults | eval Data="Google"</query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
        </search>
        <option name="count">10</option>
        <option name="drilldown">cell</option>
        <option name="refresh.display">progressbar</option>
        <drilldown>
          <link target="_blank">http://www.google.com</link>
        </drilldown>
      </table>
    </panel>
  </row>
</dashboard>
0 Karma
Get Updates on the Splunk Community!

Index This | A sphere has three, a circle has two, and a point has zero. What is it?

September 2023 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...