NAME

sc - Splunk Client

SYNOPSIS

sc [--host <host>] [--port <port>] [--login <login>] [--password <password>] [--insecure] <subcommand> [<arguments>,...]

DESCRIPTION

This is remote client for Splunk log search engine based upon Net::Splunk. It is currently quite limited in capabilities, but intended and designed to be extended in future.

OPTIONS

--host <host>

Sets remote server to connect to. Defaults to localhost.

--port <port>

Sets port of remote server to connect to. Defaults to 8089. Please note that this is the management port, not the WWW interface port.

--login <login>

User name of the user to connect to Splunk as. Defaults to admin. The defaults for username and password will probably (hopefully?) not suit your configuration.

--password <password>

Password of the user to connect to Splunk as. Defaults to changeme.

--insecure

Tolerate SSL errors.

<subcommand> [<arguments>]

Subcommand to run. Currently defined is just search:

search <search string>, ...

Conduct a search, output the raw log data as they are looked up. Terminate when the search is finished.

EXAMPLES

sc search warning

SEE ALSO

Net::Splunk, Net::Splunk::API

AUTHORS

Lubomir Rintel, <lkundrak@v3.sk>

The code is hosted on GitHub http://github.com/lkundrak/perl-Net-Splunk. Bug fixes and feature enhancements are always welcome.