Merge "Fixes Monasca log transformer UTC offset exception"

This commit is contained in:
Zuul 2019-08-28 07:48:52 +00:00 committed by Gerrit Code Review
commit d191da6709

View File

@ -14,7 +14,7 @@ input {
filter { filter {
# Update the timestamp of the event based on the time in the message. # Update the timestamp of the event based on the time in the message.
date { date {
match => [ "[log][dimensions][timestamp]", "yyyy-MM-dd HH:mm:ss +0000", "ISO8601"] match => [ "[log][dimensions][timestamp]", "yyyy-MM-dd HH:mm:ss Z", "ISO8601"]
remove_field => [ "[log][dimensions][timestamp]", "[log][dimensions][Timestamp]" ] remove_field => [ "[log][dimensions][timestamp]", "[log][dimensions][Timestamp]" ]
} }