Splunk Search
Highlighted

Is splunk command line tool packaged separately

Explorer

Hi,

Is there splunk tool chain that simply sends splunk commands to the daemon (does not include daemon and web interface files/binaries.)

I am trying to reduce the footprint of splunk to the point where i can run all the splunk cli commands from any box on the network and these commands get sent to splunk daemon installed on a remote server.

Thanks!

Tags (3)
Highlighted

Re: Is splunk command line tool packaged separately

Ultra Champion

Have you looked at what can be achieved with the REST API ?

It is not a standalone CLI as you inquired about , but in some ways may actually be better.
ie: you can't use the CLI remotely to restart , but there is a rest endpoint for this

The REST API also has language SDK's available in java,python,javascript.

Highlighted

Re: Is splunk command line tool packaged separately

Explorer

This is great! Thank you!

0 Karma
Highlighted

Re: Is splunk command line tool packaged separately

Splunk Employee
Splunk Employee

Just install Splunk:

http://docs.splunk.com/Documentation/Splunk/4.3.1/Admin/AccessandusetheCLIonaremoteserver

:~ araitz$ /opt/splunk/splunk/bin/splunk help uri
Highlighted

Re: Is splunk command line tool packaged separately

Ultra Champion

I think the poster was asking for if there was a way to install splunk with only the CLI functionality and nothing else, sort of as a standalone remote CLI, if I understood correctly.

0 Karma
Highlighted

Re: Is splunk command line tool packaged separately

Splunk Employee
Splunk Employee

Sure, I understand. On the other hand, storage is cheap and Splunk already has all the bits necesarry for remote management.

0 Karma
Highlighted

Re: Is splunk command line tool packaged separately

Splunk Employee
Splunk Employee

You may take a look at this app: Web Terminal for Splunk. With it you will be able to work with Splunk CLI on the remote server right through your browser. It will save you from installing the full version of Splunk just for this simple task.

0 Karma