Refine your search:

1
1

I thought there was a way to enumerate the enabled and disabled apps from the CLI. Is this so, and if so, what is it?

asked 19 Jan '10, 23:43

gkanapathy's gravatar image

gkanapathy ♦
26.2k1622
accept rate: 42%

edited 13 Apr '10, 10:34

the_wolverine's gravatar image

the_wolverine ♦
4.3k5843


5 Answers:
splunk display app

Prints lines like

  SplunkLightForwarder       DISABLED  INVISIBLE  UNCONFIGURED
  unix                       ENABLED   VISIBLE    CONFIGURED

, so you could pipe output to awk '$2=="ENABLED" {print $1}', or some such.

link

answered 19 Jan '10, 23:56

V_at_Splunk's gravatar image

V_at_Splunk
8121314
accept rate: 42%

In general, splunk help commands prints a nice summary of CLI commands -- you can generally figure out from there. (That's how I learned answer to this question.)

(20 Jan '10, 00:33) V_at_Splunk

In Powershell that would be

splunk display app | select-string "ENABLED"

or

| findstr "ENABLED"

if you're an adept of Windows CMD shell

link

answered 20 Jan '10, 19:16

Leo's gravatar image

Leo ♦
817111
accept rate: 47%

edited 20 Jan '10, 19:26

Run the following command:

$SPLUNK_HOME/bin/splunk display app

<requires authentication>

Result:

  gettingstarted             ENABLED   VISIBLE    CONFIGURED  

  launcher                   ENABLED   VISIBLE    CONFIGURED  

  learned                    ENABLED   INVISIBLE  CONFIGURED  

  sample_app                 ENABLED   INVISIBLE  CONFIGURED  

  search                     ENABLED   VISIBLE    CONFIGURED  

  SplunkForwarder            DISABLED  INVISIBLE  CONFIGURED  

  SplunkLightForwarder       ENABLED   INVISIBLE  CONFIGURED  

  unix                       DISABLED  VISIBLE    CONFIGURED  
link

answered 02 Apr '10, 04:17

the_wolverine's gravatar image

the_wolverine ♦
4.3k5843
accept rate: 50%

The CLI command would be: $SPLUNK_HOME/bin/splunk display app -auth login:password

or under Windows: %SPLUNK_HOME%\bin\splunk display app -auth login:password

eg. $SPLUNK_HOME/bin/splunk display app -auth admin:changeme

This and other admin CLI commands can be referenced at: http://www.splunk.com/base/Documentation/4.1.1/Admin/CLIadmincommands

link

answered 22 Apr '10, 16:02

Ellen's gravatar image

Ellen ♦
1.7k319
accept rate: 72%

edited 29 Apr '10, 22:53

From the CLI:

"Splunk_Home"/splunk display app

This should list all the apps and let you know if they are enabled or disabled.

http://www.splunk.com/base/Documentation/4.1.1/Admin/CLIadmincommands

Travis.

link

answered 22 Apr '10, 15:59

thall79's gravatar image

thall79
38616
accept rate: 25%

edited 22 Apr '10, 16:05

Note that in older versions of splunk the variation whithout a specific app mentioned does nothing. This changed early in the 4.0.x series, I believe.

(22 Apr '10, 18:14) jrodman ♦
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×309
×206
×82
×12

Asked: 19 Jan '10, 23:43

Seen: 1,517 times

Last updated: 29 Apr '10, 22:53

Copyright © 2005-2012 Splunk, Inc. All rights reserved.