Dashboards & Visualizations

Add link in dashboard description

dwahyudi06
Engager

Hi,

 

I want to add external link in my dashboard description.
I saw similar question, but cant find the correct answer https://community.splunk.com/t5/Dashboards-Visualizations/Add-link-to-external-site-in-dashboard-des...

I tried adding <html> tag in the dashboard <description> but I got a warning that <description> is not supposed to have a child tag.

EDIT (so that the accepted answer directly correlates to this question):
I want to add link in dashboard description because I want the link to appear under the title, and above the input. If I just add <html> tag under <panel>, then it will appear after input.

Tags (3)
0 Karma
1 Solution

bowesmana
SplunkTrust
SplunkTrust

@dwahyudi06 

Yes you can do that if you move the inputs into their own row/panel like this example

<form>
  <label>Example Dashboard</label>
  <description></description>
  <fieldset submitButton="false"></fieldset>
  <row>
    <panel>
      <html>
        <h1 style="color:red">A nice big red header</h1>
        <a href="www.yoursite.com">Link to your site</a>
      </html>
    </panel>
  </row>
  <row>
    <panel>
      <input type="text" token="field1">
        <label>Enter search tezt</label>
      </input>
      <input type="dropdown" token="choices">
        <label>Choices</label>
        <choice value="c1">Choice 1</choice>
        <choice value="c2">Choice 2</choice>
      </input>
    </panel>
  </row>
  <row>
    <panel>
      <table>
        <search>
          <query>
  your search here
          </query>
        </search>
      </table>
    </panel>
  </row>
</form>

Hope this helps

View solution in original post

0 Karma

bowesmana
SplunkTrust
SplunkTrust

@dwahyudi06 

You can't put html inside a title element, but you can create a separate html row/panel that sits above the panel you want to have the description and then you can do what you want in that panel, along the lines of

<row>
  <panel>
    <html>
      <a href="www.yoursite.com">Link to your site</a>
    </html>
  <panel>
</row>
<row>
  <panel>
    <table>
      <search>
        <query>
your search here
        </query>
      </search>
    </table>
  <panel>
</row>

 Hope this helps

0 Karma

dwahyudi06
Engager

Hi @bowesmana Thank you. Yes, the html tag works under <panel>.

But I want the text to appear in the top, under title, and before the input.

Perhaps I should post another question about that?

0 Karma

bowesmana
SplunkTrust
SplunkTrust

@dwahyudi06 

Yes you can do that if you move the inputs into their own row/panel like this example

<form>
  <label>Example Dashboard</label>
  <description></description>
  <fieldset submitButton="false"></fieldset>
  <row>
    <panel>
      <html>
        <h1 style="color:red">A nice big red header</h1>
        <a href="www.yoursite.com">Link to your site</a>
      </html>
    </panel>
  </row>
  <row>
    <panel>
      <input type="text" token="field1">
        <label>Enter search tezt</label>
      </input>
      <input type="dropdown" token="choices">
        <label>Choices</label>
        <choice value="c1">Choice 1</choice>
        <choice value="c2">Choice 2</choice>
      </input>
    </panel>
  </row>
  <row>
    <panel>
      <table>
        <search>
          <query>
  your search here
          </query>
        </search>
      </table>
    </panel>
  </row>
</form>

Hope this helps

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...