Getting Data In

Simple value to hyperlink

Abarny
Path Finder

Hi guys ,

I need your help, I create an chain charactere with a request but i want to transform to an hyperlink, this moment i have just a text.
Do you know how I can do this ?

I think I need to change that in soure code but I don't see what to change.

Thanks for your answers

0 Karma

Abarny
Path Finder

Today i Have this :

alt text

And i want transform this to a hyperlink.

    <panel>
      <title>Lien GTA</title>
      <single>
        <search>
          <query>index="gta_projets"  logs{}.projectId=$logs{}.projectId$ |fields logs{}.projectId|rename logs{}.projectId as "NOVA ID"| dedup "NOVA ID"|eval "Lien GTA"="https://gta.rmidom.intra/#!/projects/"."".'NOVA ID'| table "Lien GTA"</query>
          <earliest>0</earliest>
          <latest></latest>
        </search>
      </single>
    </panel>

Thanks,

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi Abarny,
sorry, but I don't understand your question: do you need to insert in a panel a link to an external url or to another Splunk object, or do you want to make a drilldown from a Splunk object (e.g. a Sinle value panel) into another dashboard?

to insert a link to an external link you have to insert in your dashboard an html panel like this

<row>
   <html>
      <h3>description: </h3><a href="http://www.splunk.com"><i><b><u>Splunk</u></b></i></a>
      <h3> This is <strong>Splunk</strong> : LOGIN, LOGOUT and FAILED LOGIN events.</h3>
   </html>
</row> 

to insert a link to another App's dashboard

<row>
   <html>
      <h1>dashboard</h1>
      <p><font size="2">description</font></p>
      <table border="0" cellpadding="10" align="center">
         <th align="left"> <a href="dashbord_name">"Dashboard1"</a> </th>
      </table>
   </html>
</row>

to make a drilldown to another object, you have to see in "Splunk 6.x Dashboard Examples" App (https://splunkbase.splunk.com/app/1603/) how to manage drilldown.

Bye.
Giuseppe

gcusello
SplunkTrust
SplunkTrust

Hi Abarny,
this is a simple example of drilldown

<dashboard>
  <label>test single</label>
  <row>
    <panel>
      <single>
        <search>
          <query>index=_internal | head 1 | eval url="www.splunk.com" | table url</query>
          <sampleRatio>1</sampleRatio>
        </search>
        <drilldown>
          <link>
            <![CDATA[http://$row.url$]]>
          </link>
        </drilldown>
      </single>
    </panel>
  </row>
</dashboard>

Bye.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...