Skip to content

Commit

Permalink
move remaiing winlog to event.original string and updated ad users da…
Browse files Browse the repository at this point in the history
…ta set
  • Loading branch information
brian-grabau committed Dec 15, 2023
1 parent db45cb8 commit e2ff450
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/processors/api_list_ad_users.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ filter {
}
mutate{
add_field => {
"[event][module]" => "azure"
"[event][dataset]" => "azure.directory_users"
"[event][module]" => "active_directory"
"[event][dataset]" => "active_directory.users"
"[log][source][hostname]" => "%{[agent][name]}"
}
}
Expand Down
6 changes: 6 additions & 0 deletions config/processors/wef_audit_windows.events.conf
Original file line number Diff line number Diff line change
Expand Up @@ -373,9 +373,15 @@ filter {
}
}
}

# Copy any thing not mapped form "[winlog]" to [event][original] string
ruby {
code => 'event.set("[event][original]", event.get("[winlog]").to_s)'
}
mutate {
remove_field => [ "[winlog]", "ecs", "tmp", "type", "ticket_encrypt", "ticket_option", "[fields]", "failure_code" ]
}

}
output {
pipeline { send_to => [enrichments] }
Expand Down

0 comments on commit e2ff450

Please sign in to comment.