Sha256: b7874f8b93c1c6e093db8a1d6e528b5366dbeca4a575ee1491eb598298b981e8
Contents?: true
Size: 1.75 KB
Versions: 8
Compression:
Stored size: 1.75 KB
Contents
# :title:Splunk SDK for Ruby #-- # Copyright 2011-2013 Splunk, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"): you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. #++ # # The Splunk SDK for Ruby provides an idiomatic interface to Splunk from # Ruby. To use it, add # # require 'splunk-sdk-ruby' # # to the top of your source file. All the code in the SDK is in the +Splunk+ # module. Once you have included the SDK, create a connection to your Splunk # instance with the following (changing host, port, username, and password to # your values): # # service = Splunk::Service.new(:host => "localhost", # :port => 8089, # :username => "admin", # :password => "changeme").login() # require_relative 'splunk-sdk-ruby/atomfeed' require_relative 'splunk-sdk-ruby/version' require_relative 'splunk-sdk-ruby/namespace' require_relative 'splunk-sdk-ruby/xml_shim' require_relative 'splunk-sdk-ruby/resultsreader' require_relative 'splunk-sdk-ruby/context' require_relative 'splunk-sdk-ruby/service' require_relative 'splunk-sdk-ruby/ambiguous_entity_reference' require_relative 'splunk-sdk-ruby/entity_not_ready' require_relative 'splunk-sdk-ruby/illegal_operation' require_relative 'splunk-sdk-ruby/splunk_http_error' module Splunk end
Version data entries
8 entries across 8 versions & 1 rubygems