vendored/puppet/lib/puppet/util/log/destinations.rb in bolt-0.11.0 vs vendored/puppet/lib/puppet/util/log/destinations.rb in bolt-0.12.0
- old
+ new
@@ -123,10 +123,9 @@
def format(msg)
# logstash_event format is documented at
# https://logstash.jira.com/browse/LOGSTASH-675
- data = {}
data = msg.to_hash
data['version'] = 1
data['@timestamp'] = data['time']
data.delete('time')