lib/semantic_logger/appender/splunk.rb in semantic_logger-4.3.0 vs lib/semantic_logger/appender/splunk.rb in semantic_logger-4.3.1
- old
+ new
@@ -125,10 +125,10 @@
host: logger.host,
time: log.time.utc.to_f,
message: h.delete(:message),
event: h
}
- message[:source_type] = source_type if source_type
+ message[:sourcetype] = source_type if source_type
message
end
end
end
end