Getting Data In

('div.nav').prepend not working


HI All,
I want to insert a image in splunk page
for that i used

above thing is working in below 7.2 version,
But not working in latest version

can any one help on this thing


Tags (1)
0 Karma



looks like they changed the class attributes of the header and the navigation. Try something like this:

$("header > div > div:nth-of-type(2)").prepend('Test')

0 Karma

Super Champion

Could you point us to where you got the class attributes from ?

0 Karma



open up a splunk dashboard and use your browsers developer console to take a look at the class attributes. For example in Chrome right click on the navbar in the splunk dashboard and chose inspect element.

You can also test your selectors "live" in the browsers console.

0 Karma
Get Updates on the Splunk Community!

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...

Last Chance to Submit Your Paper For BSides Splunk - Deadline is August 12th!

Hello everyone! Don't wait to submit - The deadline is August 12th! We have truly missed the community so ...

Ready, Set, SOAR: How Utility Apps Can Up Level Your Playbooks!

 WATCH NOW Powering your capabilities has never been so easy with ready-made Splunk® SOAR Utility Apps. Parse ...