This project provides a library with source code and examples written in Java for coding against the Splunk Platform APIs.
More information on coding against Splunk is hosted over on the Splunk Labs pages at: http://code.google.com/p/splunk-labs/
Splunk Java SDK
Splunk's Java SDK is a public domain library providing Java development wrapper for projects based around Splunk's search engine.
Please note this an early beta release of the SDK, and as such, hasn't been throughly tested. If you find any bugs, or need assistance feel free to leave a comment on the Splunk Labs list, opening a ticket, or check out the code yourself and get busy! Note: Don't email Splunk directly about support for this library - your requests will go unanswered if you do.
Introduction
Splunk Java SDK is a wrapper around Splunk's REST API, providing an object model for the major functional components of the Splunk server.
There are many levels of possible Splunk integration, so we provided developers the ability to communicate with the Platform API - from raw http streaming to custom-tailored objects and SQL-style components.
Requirements
To run the Splunk Java SDK Library you will need the Java runtime library installed:
- Java Platform Standard Edition 5.0 - http://java.sun.com/javase/downloads/index.jsp
Installation
Splunk Java SDK is a jar library. You can download the latest version here.
Launch your favorite Java development IDE. Create a new project. Import Splunk SDK library to the list of project's referenced libraries.
Documentation
Javadoc for the project can be found here. More documentation will be added soon.