Dashboards & Visualizations

How can i modify the "About Splunk" Popup?

JensT
Communicator

Hi,

How can i modify the "About Splunk" Popup?

Splunk 4.1.8

Cheers,

Jens

Tags (1)
0 Karma

cblanton
Communicator
0 Karma

mw
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

mw
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

JensT
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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...