All Apps and Add-ons

How to check version of all apps and add-ons installed on Splunk via CLI ?

kishor_pinjark2
Path Finder

I want to see details like below:

Folder Name App or Add-on Name Version Status
SA-ldapsearch Splunk Supporting Add-on for Active Directory 2.1.2 Enabled

Labels (1)
Tags (1)
0 Karma
1 Solution

493669
Super Champion

Hi @kishor_pinjarkar,
Try this rest command as suggested by @MuS-

| rest /services/apps/local | search disabled=0 core=0|dedup label  | table label version

View solution in original post

raventura
Observer

is there a command where we can get app versions across the Splunk cloud environment? get app versions from SH, IDX, DS, HF/UF, etc. 

Many thanks!

0 Karma

493669
Super Champion

Hi @kishor_pinjarkar,
Try this rest command as suggested by @MuS-

| rest /services/apps/local | search disabled=0 core=0|dedup label  | table label version

kishor_pinjark2
Path Finder

Thanks Team.

However, I am getting below error:


:prodlaa@XXXXXX:/opt/splunk/bin
$ | rest /services/apps/local | search disabled=0 core=0 | dedup lable | table lable version
-ksh: syntax error: `|' unexpected


0 Karma

jaracan
Communicator

You should run the SPL query command on the Splunk searchead search, not on the CLI terminal.

0 Karma

493669
Super Champion

have a look at comment https://answers.splunk.com/answers/259842/how-to-search-a-list-of-all-enabled-apps-in-splunk.html
$SPLUNK_HOME/bin:

 ./splunk search "| rest /services/apps/local | search disabled=0 | table label version" -uri https://MyHeavyWeightForwarder:8089

kishor_pinjark2
Path Finder

I am aware of the command splunk display app...

However, not able to find version of all, at once via CLI.

0 Karma

pacifiquen
Explorer

Hello,

To check version of all apps and add-ons installed on Splunk via CLI?
./splunk list app && ./splunk list add-ons | sort

AND try this one in GUI in Splunk search query and run this query:
| rest /services/apps/local splunk_server=local
| table title version

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...