Skip to content

Commit

Permalink
Merge pull request #557 from Cargill/sep_adj
Browse files Browse the repository at this point in the history
removed event.created,message field removes; updated date match patterns
  • Loading branch information
lyradc authored Oct 25, 2024
2 parents ad9ac2f + 826322e commit 6edc54a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/processors/syslog_security_symantec.endpoint.conf
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ filter {
rename => {"[sepm][Source]" => "[log][logger]"}
rename => {"[sepm][Disposition]" => "[error][type]"}
rename => {"[sepm][Event Type]" => "[event][category]"}
remove_field => ["[log][date_time]", "[event][created]", "[received][date_time]", "actual_msg"]
remove_field => ["[log][date_time]", "[received][date_time]", "actual_msg"]
}
if [rule][id] {
mutate {
Expand Down Expand Up @@ -468,7 +468,7 @@ filter {

if [event][start] {
date {
match => ["[event][start]" , "yyyy-MM-dd HH:mm:ss"]
match => ["[event][start]", "ISO8601", "yyyy-MM-dd HH:mm:ss", "MMM dd HH:mm:ss"]
timezone => "GMT"
locale => "en"
target => "[event][start]"
Expand All @@ -482,7 +482,7 @@ filter {
}
if [event][end] {
date {
match => ["[event][end]" , "yyyy-MM-dd HH:mm:ss"]
match => ["[event][end]", "ISO8601", "yyyy-MM-dd HH:mm:ss", "MMM dd HH:mm:ss"]
timezone => "GMT"
locale => "en"
target => "[event][end]"
Expand Down

0 comments on commit 6edc54a

Please sign in to comment.