Skip to content

Commit

Permalink
interactive signin was missing dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-grabau committed Sep 9, 2024
1 parent e45c351 commit f903c6f
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ input {
}
}
filter {
mutate{
remove_field => [ "host", "event" ]
}
mutate{
add_field => { "[event][module]" => "azure" }
add_field => { "[event][dataset]" => "azure.interactivesignin" }
add_field => { "[log][source][hostname]" => "%{[az][TenantId]}" }
}
if [message] =~ '^{"records": \[' {
json {
source => "message"
Expand All @@ -26,12 +34,6 @@ filter {
skip_on_invalid_json => true
}
}
mutate{
add_field => { "[event][module]" => "azure" }
add_field => { "[event][dataset]" => "azure.interactivesignin" }
add_field => { "[log][source][hostname]" => "%{[az][TenantId]}" }
remove_field => [ "host", "event" ]
}
mutate {
rename => { "[az][TenantId]" => "[cloud][account][id]" }
rename => { "[az][TimeGenerated]" => "[event][ingested]" }
Expand Down

0 comments on commit f903c6f

Please sign in to comment.