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 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...