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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...