Sha256: f584478880c9522d713bbfe9951a3435a11f954a9b3502c7b236f81f89e6b8a9
Contents?: true
Size: 286 Bytes
Versions: 14
Compression:
Stored size: 286 Bytes
Contents
def decode_events multiline = LogStash::Codecs::Multiline.new(options) events = [] random_number_of_events.times do |n| multiline.decode(sample_event) { |event| events << event } end # Grab the in-memory-event multiline.flush { |event| events << event } events end
Version data entries
14 entries across 11 versions & 2 rubygems