Sha256: 7383d6a70a9c124c67d5cbdbac73121c5352a58fb9ad44f73e700df511fcacda

Contents?: true

Size: 314 Bytes

Versions: 27

Compression:

Stored size: 314 Bytes

Contents

# encoding: utf-8
require "json"
module Lumberjack module Beats
  SEQUENCE_MAX = (2**32-1).freeze

  @@json = Class.new do
    def self.load(blob)
      JSON.parse(blob)
    end
    def self.dump(v)
      v.to_json
    end
  end

  def self.json
    @@json
  end

  def self.json=(j)
    @@json = j
  end
end; end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
fluent-plugin-beats-1.1.0 lib/lumberjack/beats.rb
fluent-plugin-beats-1.0.1 lib/lumberjack/beats.rb
fluent-plugin-beats-1.0.0 lib/lumberjack/beats.rb
fluent-plugin-beats-0.1.4 lib/lumberjack/beats.rb
fluent-plugin-beats-0.1.3 lib/lumberjack/beats.rb
fluent-plugin-beats-0.1.2 lib/lumberjack/beats.rb
fluent-plugin-beats-0.1.1 lib/lumberjack/beats.rb
logstash-input-beats-2.2.7 lib/lumberjack/beats.rb
logstash-input-beats-2.2.5 lib/lumberjack/beats.rb
logstash-input-beats-2.2.3 lib/lumberjack/beats.rb
logstash-input-beats-2.2.2 lib/lumberjack/beats.rb
logstash-input-beats-2.2.0 lib/lumberjack/beats.rb
logstash-input-beats-2.1.4 lib/lumberjack/beats.rb
logstash-input-beats-2.1.3 lib/lumberjack/beats.rb
logstash-input-beats-2.1.2 lib/lumberjack/beats.rb
logstash-input-beats-2.1.1 lib/lumberjack/beats.rb
fluent-plugin-beats-0.1.0 lib/lumberjack/beats.rb
logstash-input-beats-2.0.3 lib/lumberjack/beats.rb
logstash-input-beats-2.0.2 lib/lumberjack/beats.rb
logstash-input-beats-2.0.1 lib/lumberjack/beats.rb