splunk-client
splunk-client copied to clipboard
Splunk REST API Library for Ruby
Added query prefix for search.
http://ruby-doc.org/stdlib-2.0.0/libdoc/net/http/rdoc/Net/HTTP.html#method-c-new starting from ruby 2.0 Net::HTTP.new('host', 'port') checks for http_proxy ENV and automatically uses the proxy if so. this patch creates Net::HTTP with no proxy if it is not passed...
There isn't an easy way to iterate on fields when they are sucked into a timechart. The timechart fields become the value of the field rather than the original field...
Consider making use of `required_field_list` to pull fields out of _raw. Ref: http://splunk-base.splunk.com/answers/25867/fields-through-rest-api http://docs.splunk.com/Documentation/Splunk/4.2.1/Developer/RESTSearch