During the Log Stream creation via Terraform/Management Api, if you don’t specify the filters:
resource "auth0_log_stream" "azure_event_grid_export" {
name = "Azure Event Grid"
type = "eventgrid"
sink {
azure_region = var.auth0_eventing_azure_region
azure_resource_group = var.auth0_eventing_azure_resource_group
azure_subscription_id = var.auth0_eventing_azure_subscription_id
# azure_partner_topic = var.auth0_eventing_azure_partner_topic
}
filters = []
}
Instead of selecting all events, as described in the documentation, it is pre selecting only 11 events in the Dashboard.
It only works when I manually set all events:
resource "auth0_log_stream" "azure_event_grid_export" {
name = "Azure Event Grid"
type = "eventgrid"
sink {
azure_region = var.auth0_eventing_azure_region
azure_resource_group = var.auth0_eventing_azure_resource_group
azure_subscription_id = var.auth0_eventing_azure_subscription_id
# azure_partner_topic = var.auth0_eventing_azure_partner_topic
}
filters = [
{ type = "category", name = "auth.ancillary.fail" },
{ type = "category", name = "auth.ancillary.success" },
{ type = "category", name = "auth.login.fail" },
{ type = "category", name = "auth.login.notification" },
{ type = "category", name = "auth.login.success" },
{ type = "category", name = "auth.logout.fail" },
{ type = "category", name = "auth.logout.success" },
{ type = "category", name = "auth.signup.fail" },
{ type = "category", name = "auth.signup.success" },
{ type = "category", name = "auth.silent_auth.fail" },
{ type = "category", name = "auth.silent_auth.success" },
{ type = "category", name = "auth.token_exchange.fail" },
{ type = "category", name = "auth.token_exchange.success" },
{ type = "category", name = "management.fail" },
{ type = "category", name = "management.success" },
{ type = "category", name = "system.notification" },
{ type = "category", name = "user.fail" },
{ type = "category", name = "user.notification" },
{ type = "category", name = "user.success" },
{ type = "category", name = "other" }
]
}