b09abef332
allow oss to parse sink duration clean up audit sink parsing ent eventer config reload fix typo SetEnabled to eventer interface client acl test rm dead code fix failing test
41 lines
757 B
HCL
41 lines
757 B
HCL
"advertise" = {
|
|
"http" = "host.example.com"
|
|
"rpc" = "host.example.com"
|
|
"serf" = "host.example.com"
|
|
}
|
|
|
|
"autopilot" = {
|
|
"cleanup_dead_servers" = true
|
|
}
|
|
|
|
"consul" = {
|
|
"client_auto_join" = false
|
|
"server_auto_join" = false
|
|
"token" = "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
|
|
}
|
|
|
|
vault = {
|
|
enabled = true
|
|
}
|
|
|
|
audit {
|
|
enabled = true
|
|
|
|
sink "file" {
|
|
type = "file"
|
|
format = "json"
|
|
delivery_guarantee = "enforced"
|
|
path = "/opt/nomad/audit.log"
|
|
rotate_bytes = 100
|
|
rotate_duration = "24h"
|
|
rotate_max_files = 10
|
|
}
|
|
|
|
filter "default" {
|
|
type = "HTTPEvent"
|
|
endpoints = ["/ui/", "/v1/agent/health"]
|
|
stages = ["*"]
|
|
operations = ["*"]
|
|
}
|
|
}
|