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!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...