lib/loggerstash.rb in loggerstash-0.0.4 vs lib/loggerstash.rb in loggerstash-0.0.5

- old
+ new

@@ -135,10 +135,10 @@ # def default_formatter @default_formatter ||= ->(s, t, p, m) do { "@timestamp": t.utc.strftime("%FT%T.%NZ"), - "@metadata": { _type: "loggerstash" }, + "@metadata": { event_type: "loggerstash" }, message: m, severity_name: s.downcase, hostname: Socket.gethostname, pid: $$, }.tap do |ev|