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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...