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!

.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 ...