Method: Fluent::SplunkAPIOutput#start
- Defined in:
- lib/fluent/plugin/out_splunkapi-ssnl.rb
#start ⇒ Object
62 63 64 65 66 67 68 |
# File 'lib/fluent/plugin/out_splunkapi-ssnl.rb', line 62 def start super @http = Net::HTTP::Persistent.new 'fluentd-plugin-splunkapi' @http.verify_mode = OpenSSL::SSL::VERIFY_NONE unless @verify @http.headers['Content-Type'] = 'text/plain' log.info "initialized for splunkapi" end |