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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...