Ruby REST Client for Splunk

Splunk has decent documentation regarding their REST API, however the Ruby example uses Hipricot, which like many of the XML parsers in existence has a learning curve.

After a few more hours of Googling, I wasn’t able to find any decent examples using Ruby and the Splunk API. The Hipricot example didn’t look very straightforward and I decided to re-write it using Nokogiri and the wonderful Slop feature.

v0.1 code and documentation located on GitHub: https://github.com/cbrito/splunk-client

 

This entry was posted in code and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>