From bc208ea50d4f0c0e93c099ec58f8d0ea3d71f9b5 Mon Sep 17 00:00:00 2001 From: Yong Zhang <15604715+yongzhang@users.noreply.github.com> Date: Wed, 7 Feb 2024 03:31:58 +0800 Subject: [PATCH] Fix docs for event filters (#4365) --- website/content/docs/concepts/filtering/events.mdx | 4 ++-- website/content/docs/configuration/events/common.mdx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/website/content/docs/concepts/filtering/events.mdx b/website/content/docs/concepts/filtering/events.mdx index f4b0060b04..bf7833fe35 100644 --- a/website/content/docs/concepts/filtering/events.mdx +++ b/website/content/docs/concepts/filtering/events.mdx @@ -72,8 +72,8 @@ sink "stderr" = { event_types = ["*"] format = "cloudevents-text" allow_filters = [ - '"/data/request_info/path" contains ":authenticate"' - '"/data/op" contains ".createClientConn"' + "\"/data/request_info/path\" contains \":authenticate\"", + "\"/data/op\" contains \".createClientConn\"", ] # note: deny_filters are also supported. } diff --git a/website/content/docs/configuration/events/common.mdx b/website/content/docs/configuration/events/common.mdx index 9a3e77cb45..026f31047c 100644 --- a/website/content/docs/configuration/events/common.mdx +++ b/website/content/docs/configuration/events/common.mdx @@ -24,7 +24,7 @@ These parameters are shared across all sink types: sink. If any filter matches, the event will be included. For more information, on using filters see: [event filtering](/boundary/docs/concepts/filtering/events) -- `deny-filters` - Specifies a set predicates for excluding an event in the +- `deny_filters` - Specifies a set predicates for excluding an event in the sink. If any filter matches, the event will be excluded. For more information on using filters see: [event filtering](/boundary/docs/concepts/filtering/events)