From f62d4dd930edd46b2453ed0f174ed7c8e55df67d Mon Sep 17 00:00:00 2001 From: Guillaume Dupin Date: Wed, 25 Oct 2023 19:03:21 +0400 Subject: [PATCH] fix drop example to a valid regexp --- config.example.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.example.yaml b/config.example.yaml index 3b6e694b..271a65d4 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -10,13 +10,13 @@ route: # This route allows dumping all events because it has no fields to match and no drop rules. - match: - receiver: "dump" - # This starts another route, drops all the events in *test* namespaces and Normal events + # This starts another route, drops all the events from all namespaces containing 'test' and Normal events # for capturing critical events - match: - receiver: "alert" - receiver: "pipe" drop: - - namespace: "*test*" + - namespace: ".*test.*" # should be a valid regexp syntax - type: "Normal" minCount: 5 apiVersion: "*beta*"