Skip to content

Commit

Permalink
updated extract filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Duplo-Yashwant committed Nov 28, 2024
1 parent 4c47b82 commit 9c64d0f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions diagnostics/opensearch/logstash/logstash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,20 @@ filter {

date {
match => ["[records][time]", "MM/dd/yyyy HH:mm:ss"]
target => "@timestamp"
target => "creation_time"
}

mutate {
remove_field => ["[records][time]"]
}

mutate {
remove_field => ["event.original"]
remove_field => ["[event][original]"]
}

json {
source => ["[records][properties]"]
remove_field => ["[records][properties]"]
}
}

Expand Down

0 comments on commit 9c64d0f

Please sign in to comment.