Sha256: fa1daa4222b945e7e9206bfc6fbc40090f013897d19bd83449e35f4877423bf7
Contents?: true
Size: 462 Bytes
Versions: 1
Compression:
Stored size: 462 Bytes
Contents
require 'logstash_auditor' require 'time' 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) @iut.warn("#{SecureRandom.hex(32)}:#{Time.now.utc.iso8601(3)}:test1234") end end main = Main.new main.test_sanity
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
logstash_auditor-0.0.11 | sanity/sanity.rb |