lib/logstash/codecs/oldlogstashjson.rb in logstash-codec-oldlogstashjson-0.1.3 vs lib/logstash/codecs/oldlogstashjson.rb in logstash-codec-oldlogstashjson-0.1.4
- old
+ new
@@ -2,10 +2,9 @@
require "logstash/codecs/base"
require "logstash/json"
class LogStash::Codecs::OldLogStashJSON < LogStash::Codecs::Base
config_name "oldlogstashjson"
- milestone 2
# Map from v0 name to v1 name.
# Note: @source is gone and has no similar field.
V0_TO_V1 = {"@timestamp" => "@timestamp", "@message" => "message",
"@tags" => "tags", "@type" => "type",