Set up audit logs on K8s with WEKA Operator
Configure audit log exports to external destinations using the WEKA Kubernetes operator.
Set up audit logs
Before you begin
Procedure
kubectl create secret generic splunk-secret \ --from-literal=hec-token=<YOUR_SPLUNK_HEC_TOKEN> \ --namespace <namespace>spec: telemetry: exports: - name: audit-to-splunk sources: - audit splunk: authTokenSecretRef: "splunk-secret.hec-token" # <secretName>.<keyName> endpoint: "https://splunk.example.com:8088/services/collector" caCertSecretRef: "splunk-ca-secret.ca.pem" #Optionalkubectl apply -f <cluster-config>.yamlkubectl get wekacontainers -n <namespace> | grep telemetrykubectl exec -n <namespace> <any-weka-pod> -- weka telemetry exports listkubectl exec -n <namespace> <any-weka-pod> -- weka audit cluster status
Audit parameters reference
Parameter
Description
Disable auditing
Last updated