We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff642b2 commit 8ff2a47Copy full SHA for 8ff2a47
pkg/loki/flow_query.go
@@ -108,7 +108,10 @@ func (q *FlowQueryBuilder) Filters(queryFilters filters.SingleQuery) error {
108
}
109
110
func (q *FlowQueryBuilder) addFilter(filter filters.Match) error {
111
- if !filterRegexpValidation.MatchString(filter.Values) {
+ // namespace filtering is managed by loki gateway so we can simply skip it
112
+ if filter.Key == "namespace" {
113
+ return nil
114
+ } else if !filterRegexpValidation.MatchString(filter.Values) {
115
return fmt.Errorf("unauthorized sign in flows request: %s", filter.Values)
116
117
0 commit comments