github.com/crowdsecurity/crowdsec@v1.6.1/pkg/leakybucket/tests/conditional-bucket/bucket.yaml (about)

     1  type: conditional
     2  name: test/conditional
     3  #debug: true
     4  description: "conditional bucket"
     5  filter: "evt.Meta.log_type == 'http_access-log'"
     6  groupby: evt.Meta.source_ip
     7  condition: any(queue.Queue, {.Meta.http_path == "/"}) and any(queue.Queue, {.Meta.http_path == "/foo"})
     8  leakspeed: 1s
     9  capacity: -1
    10  labels:
    11    type: overflow_1