Skip to content

Commit

Permalink
Fixes issue where log entries were having their dates parsed incorrec…
Browse files Browse the repository at this point in the history
…tly, causing errors in the ES index, this was causing out-of-date entries to appear in process log UI. (#211)

Co-authored-by: James Wood <[email protected]>
Co-authored-by: James Wood <[email protected]>
  • Loading branch information
3 people authored Jun 27, 2024
1 parent a5bf781 commit 828ea82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion install/docker/console-db-es-ls-kibana/cws-logstash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ filter {
}

date {
match => [ "logdate", "yyyy-MM-dd HH:mm:ss,SSS" ]
match => [ "logdate", "ISO8601" ]
timezone => "UTC"
locale => en
remove_field => [ "logdate" ]
Expand Down
2 changes: 1 addition & 1 deletion install/docker/worker-ls/cws-logstash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ filter {
}

date {
match => [ "logdate", "yyyy-MM-dd HH:mm:ss,SSS" ]
match => [ "logdate", "ISO8601" ]
timezone => "UTC"
locale => en
remove_field => [ "logdate" ]
Expand Down
2 changes: 1 addition & 1 deletion install/logging/cws-logstash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ filter {
}

date {
match => [ "logdate", "yyyy-MM-dd HH:mm:ss,SSS" ]
match => [ "logdate", "ISO8601" ]
timezone => "UTC"
locale => en
remove_field => [ "logdate" ]
Expand Down

0 comments on commit 828ea82

Please sign in to comment.