Splunk Search

Want to make a button to link to a URL!

oda
Communicator

I want to make a button to link to a URL.
Looking at the Answer, I found it.May be I can do it by using java.
But I want to complete with Search.
Is that possible?

sample search

    <html>
      <center>
        <p>google</p>
        <button>
           <div>
       <li><a href="http://www.google.com/">Google</a></li>
        </div>
      </button>
      </center>
    </html>

Tags (1)
0 Karma
1 Solution

oda
Communicator

Sorry.
I was self resolved.
Although it did not work in IE(Windows Server 2012R2), it worked using another browser from another terminal.

View solution in original post

0 Karma

oda
Communicator

Sorry.
I was self resolved.
Although it did not work in IE(Windows Server 2012R2), it worked using another browser from another terminal.

0 Karma

harishalipaka
Motivator
 var openDashboard = function(){
        window.location.pathname = "/en-US/app/pulsedevapp/adani_dashboard_html2_jeet_clone";
      };



      $('#btnhome').on('click', openDashboard);
Thanks
Harish
0 Karma

niketn
Legend

What do you mean by "But I want to complete with Search."? Do you want to pass tokens from search to the link? Also where is the URL pointing i.e. internal to Splunk like dashboard or to external link?

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...