Dashboards & Visualizations
Highlighted

How can i modify the "About Splunk" Popup?

Communicator

Hi,

How can i modify the "About Splunk" Popup?

Splunk 4.1.8

Cheers,

Jens

Tags (1)
0 Karma
Highlighted

Re: How can i modify the "About Splunk" Popup?

Splunk Employee
Splunk Employee

I believe this is the javascript that launches that:

$('a.aboutLink').click(function(event){
  var aboutPopup=new Splunk.Popup($('.aboutPopupContainer'),{
    title:_('About Splunk'),
    buttons:[
      {
        label:_('Done'),
        type:'primary',
        callback:function(){
          return true;
        }.bind(this)
      }
    ]
  });
return false;});

You can see the .aboutPopupContainer in the search app's html. I'm not sure if you're trying to do this in your own app or not, but you can create a custom application.js. I imagine you could override the javascript above to display your own html or whatever.

0 Karma
Highlighted

Re: How can i modify the "About Splunk" Popup?

Communicator

Hi MW,

i found that code, but i must be blind and can not find the file which contains ".aboutPopupContainer".

Can you give me the filename?

  • Jens
0 Karma
Highlighted

Re: How can i modify the "About Splunk" Popup?

Splunk Employee
Splunk Employee

It's not a file. If you do a "view source" from the search app you'll see it in the source. So, it's some html that gets injected into each view. I wouldn't suggest chasing the actual source of that injection down, but would just try overriding it with your own html.

0 Karma
Highlighted

Re: How can i modify the "About Splunk" Popup?

Communicator
0 Karma