Skip to content

Commit

Permalink
Select falco pods directly for pushing to Loki-audits
Browse files Browse the repository at this point in the history
  • Loading branch information
ffilippopoulos committed Jun 11, 2024
1 parent d016bfa commit 09c3528
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions promtail/promtail-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,10 @@ scrape_configs:
action: drop
drop_counter_reason: promtail_noisy_error
- match:
selector: '{promtail-audit-logs="true"}'
selector: '{app_kubernetes_io_name="falco"}'
stages:
- client:
url: http://loki-audits.sys-log.svc.cluster.aws:3100/loki/api/v1/push
external_labels:
cloud_provider: ${CLOUD_PROVIDER}
uw_environment: ${UW_ENVIRONMENT}
kubernetes_cluster: ${KUBERNETES_CLUSTER}
cluster: ${KUBERNETES_CLUSTER}
provider: ${CLOUD_PROVIDER}
- output:
source: http://loki-audits.sys-log.svc.cluster.aws:3100/loki/api/v1/push
- limit:
rate: 10
burst: 10
Expand Down

0 comments on commit 09c3528

Please sign in to comment.