30 lines
770 B
HCL
30 lines
770 B
HCL
logging_sinks = {
|
|
warning = {
|
|
destination = "mybucket"
|
|
type = "storage"
|
|
filter = "severity=WARNING"
|
|
}
|
|
info = {
|
|
destination = "projects/myproject/datasets/mydataset"
|
|
type = "bigquery"
|
|
filter = "severity=INFO"
|
|
disabled = true
|
|
}
|
|
notice = {
|
|
destination = "projects/myproject/topics/mytopic"
|
|
type = "pubsub"
|
|
filter = "severity=NOTICE"
|
|
include_children = false
|
|
}
|
|
debug = {
|
|
destination = "projects/myproject/locations/global/buckets/mybucket"
|
|
type = "logging"
|
|
filter = "severity=DEBUG"
|
|
include_children = false
|
|
exclusions = {
|
|
no-compute = "logName:compute"
|
|
no-container = "logName:container"
|
|
}
|
|
}
|
|
}
|