diff --git a/template/stacks/monitoring/alloy/values.yaml b/template/stacks/monitoring/alloy/values.yaml index a2ac67d..c83bdda 100644 --- a/template/stacks/monitoring/alloy/values.yaml +++ b/template/stacks/monitoring/alloy/values.yaml @@ -76,3 +76,13 @@ alloy: targets = discovery.relabel.pod_logs.output forward_to = [loki.write.local_loki.receiver] } + + local.file_match "openbao_file_logs" { + path_targets = [{"__path__" = "/openbao/logs/*"}] + sync_period = "5s" + } + + loki.source.file "openbao_logs" { + targets = local.file_match.openbao_file_logs.output + forward_to = [loki.write.local_loki.receiver] + } \ No newline at end of file