lib/logstash/outputs/scalyr.rb in logstash-output-scalyr-0.2.5.beta vs lib/logstash/outputs/scalyr.rb in logstash-output-scalyr-0.2.6.beta
- old
+ new
@@ -65,11 +65,11 @@
# event attribute field. Actual field value must be an integer and is mapped to different severity /
# log level on DataSet server side as shown below:
#
# - 0 -> finest
# - 1 -> trace
- # - 2 -> debut
+ # - 2 -> debug
# - 3 -> info
# - 4 -> warning
# - 5 -> error
# - 6 -> fatal / emergency / critical
#
@@ -132,10 +132,12 @@
# Whether or not to verify the connection to Scalyr, only set to false for debugging.
config :ssl_verify_peer, :validate => :boolean, :default => true
# Path to SSL bundle file.
- config :ssl_ca_bundle_path, :validate => :string, :default => "/etc/ssl/certs/ca-bundle.crt"
+ # Technically, we could also use Ruby specific cert store + using OpenSSL::X509::DEFAULT_CERT_FILE
+ # here, although that variable stores der and not pem format.
+ config :ssl_ca_bundle_path, :validate => :string, :default => "/etc/ssl/certs/ca-certificates.crt"
# If we should append our built-in Scalyr cert to the one we find at `ssl_ca_bundle_path`.
config :append_builtin_cert, :validate => :boolean, :default => true
config :max_request_buffer, :validate => :number, :default => 5500000 # echee TODO: eliminate?