lib/fluent/plugin/out_logentries.rb in fluent-plugin-logentries-0.2.4 vs lib/fluent/plugin/out_logentries.rb in fluent-plugin-logentries-0.2.5
- old
+ new
@@ -75,10 +75,10 @@
end
end
# Returns the correct token to use for a given tag / records
def get_token(tag, record)
- app_name = record["app_name"] || ""
+ app_name = record["app_name"] || record["message"]
# Config Structure
# -----------------------
# app-name:
# app: TOKEN