An implementation of the Splunk simple search Java tutorial, only in Clojure instead. #deprecated
Go to file
Elf M. Sternberg 86920a3e2b A few typos and TeX problems fixed. 2013-05-09 09:07:56 -07:00
doc A few typos and TeX problems fixed. 2013-05-09 09:07:56 -07:00
src/splunksearch Cleaned up and renamed for publication. 2013-05-08 20:34:51 -07:00
test/splunksearch Cleaned up and renamed for publication. 2013-05-08 20:34:51 -07:00
.gitignore Checking in initialization. 2013-05-08 14:34:05 -07:00
LICENSE Adding the License file. 2013-05-08 20:39:11 -07:00
README.md Updating Readme. 2013-05-08 20:40:02 -07:00
project.clj Cleaned up and renamed for publication. 2013-05-08 20:34:51 -07:00

README.md

Splunk Search in Clojure

A Clojure command line program that enables simple search access to a splunk utility.

Usage

This is a bit tricky because this program relies on both the Splunk Java SDK, which is not in Clojure or Maven repos, and the Splunk Java SDK's Command utility class. You'll have to download the Splunk Java SDK yourself and install the Splunk JAR file. You'll also have to create, from the root of this project directory, resources/com/splunk, and deposit Command.class (which can be found in the SDK's tree somewhere) in the newly created directory.

I used lein localrepo to install the Splunk JAR file. It seems to have worked for me.

Once all that's done, and you've got an instance of Splunk up at running, and you've successfully configure your .splunkrc file, you can try:

lein run 'search '

License

Copyright © 2013 Elf M. Sternberg

Distributed under the Apache Public License, under the same terms as other Splunk software.