Method: SplunkDataReader#initialize
- Defined in:
- lib/data_services/splunk_data_reader.rb
#initialize ⇒ SplunkDataReader
Returns a new instance of SplunkDataReader.
35 36 37 38 39 40 41 42 43 44 |
# File 'lib/data_services/splunk_data_reader.rb', line 35 def initialize config = {:scheme => :https, :host => "chrcnc-hnav-splunksearchhead-01.os.vap.rr.com", :port => 8089, :username => "figaro", :password => "figaro" } @service = Splunk::connect(config) end |