Dashboards & Visualizations

How do you determine the version of Splunk via Javascript

LukeMurphey
Champion

How do I determine the version of Splunk via Javascript (without using an SDK)?

Tags (2)
1 Solution

LukeMurphey
Champion

You can get the version of Splunk from the global variable $C:

alert($C.VERSION_LABEL);

View solution in original post

LukeMurphey
Champion

You can get the version of Splunk from the global variable $C:

alert($C.VERSION_LABEL);

View solution in original post

VatsalJagani
Motivator

@LukeMurphey - Where can we get more information about this global variable $C?

0 Karma
.conf21 CFS Extended through 5/20!

Don't miss your chance
to share your Splunk
wisdom in-person or
virtually at .conf21!

Call for Speakers has
been extended through
Thursday, 5/20!