Sha256: bad6e189e71ec463f2e51cd20c7355eb7b3a468afe28cd202da1bb98d16aaedd
Contents?: true
Size: 520 Bytes
Versions: 2
Compression:
Stored size: 520 Bytes
Contents
require 'logstash_auditor' class Main def test_sanity @iut = LogstashAuditor::LogstashAuditor.new @logstash_configuration = { "host_url" => "http://localhost:8080", "username" => "auditorusername", "password" => "auditorpassword", "timeout" => 3} @iut.configure(@logstash_configuration) require 'digest' flow_id = Digest::SHA256.hexdigest("#{Time.now.to_i}#{rand(4000000)}") @iut.warn("#{flow_id}:#{Time.now.utc}:test1234") end end main = Main.new main.test_sanity
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
logstash_auditor-0.0.9 | sanity/sanity.rb |
logstash_auditor-0.0.8 | sanity/sanity.rb |