pfig / perl-splunk

Perl-Splunk is a Perl client library for the Splunk REST API. Duh.

This URL has Read+Write access

README
Splunk

Splunk is a Perl client library for the Splunk REST API.
http://www.splunk.com/base/Documentation/latest/Developer/SplunksRESTAPI

INSTALLATION

To install this module, run the following commands:

  perl Makefile.PL
  make
  make test
  make install

In order to run all the tests, you'll need to define a couple of environment
variables:

PERL_SPLUNK_HOST: this is the host name of the Splunk server. It defaults
                  to 'localhost'.
PERL_SPLUNK_PORT: the port where Splunk is listening. It defaults to 8089.
PERL_SPLUNK_USER: the username used to authenticate with. There is no
                  default value, and the tests will not run if this isn't
                  set.
PERL_SPLUNK_PASS: the password to use for authentication. There is no
                  default value, and the tests will not run if this isn't set.

N.B.: I considered defaulting the username and password to admin/changeme,
      Splunk's defaults, but I think this would encourage people not to change
      these defaults, which I believe it's a bad idea. So, even if you didn't
      change them, you still have to define PERL_SPLUNK_USER and
      PERL_SPLUNK_PASS.

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

    perldoc Splunk

You can also look for information at:

    RT, CPAN's request tracker
        http://rt.cpan.org/NoAuth/Bugs.html?Dist=Splunk

    AnnoCPAN, Annotated CPAN documentation
        http://annocpan.org/dist/Splunk

    CPAN Ratings
        http://cpanratings.perl.org/d/Splunk

    Search CPAN
        http://search.cpan.org/dist/Splunk


COPYRIGHT AND LICENCE

Copyright (C) 2008 Pedro Figueiredo

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.