Add audit-log-collector (Fluent Bit) in observability
Receives the http-log plugin's POSTs and dumps each record as a JSON line to a PVC-backed file. Applied directly (kubectl), same as Jaeger in this namespace — not Flux-managed yet.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: audit-log-collector-config
|
||||
namespace: observability
|
||||
data:
|
||||
fluent-bit.conf: |
|
||||
[SERVICE]
|
||||
Flush 1
|
||||
Log_Level info
|
||||
|
||||
[INPUT]
|
||||
Name http
|
||||
Listen 0.0.0.0
|
||||
Port 8888
|
||||
|
||||
[OUTPUT]
|
||||
Name file
|
||||
Match *
|
||||
Path /data
|
||||
File audit.jsonl
|
||||
Format plain
|
||||
Reference in New Issue
Block a user