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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...