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);

VatsalJagani
SplunkTrust
SplunkTrust

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

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

🍂 Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...

Transform your security operations with Splunk Enterprise Security

Hi Splunk Community, Splunk Platform has set a great foundation for your security operations. With the ...

Splunk Admins and App Developers | Earn a $35 gift card!

Splunk, in collaboration with ESG (Enterprise Strategy Group) by TechTarget, is excited to announce a ...