open-nomad/command/agent/testdata/sample1/sample2.hcl

41 lines
744 B
HCL
Raw Normal View History

"advertise" = {
"http" = "host.example.com"
2019-07-20 14:55:07 +00:00
"rpc" = "host.example.com"
"serf" = "host.example.com"
}
"autopilot" = {
"cleanup_dead_servers" = true
}
"consul" = {
"client_auto_join" = false
"server_auto_join" = false
2019-07-20 14:55:07 +00:00
"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 = ["/v1/metrics"]
stages = ["*"]
operations = ["*"]
}
}