Help me !,about filebeat processors config

I have a requirement to limit different log push rates for different docker containers, and I found processors.rate_ The limit parameter successfully limits the logs of all containers, but I want to use processors.fields to set different rate limits based on different container names. Can anyone help me

This is my configuration

processors:
- if.equals.container_name: "algorepo-service"
  then:
  - rate_limit:
      limit: "500/s"

it does not work for container algorepo-service

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.