Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support to add a flag for throttled records instead of dropping it #23

Open
Gtharan10 opened this issue Oct 29, 2023 · 0 comments
Open

Comments

@Gtharan10
Copy link

Gtharan10 commented Oct 29, 2023

Hi,

For our application we needs an additional custom field in the record to indicate throttling instead of discarding it. Based on that we will do post processing things on that record. This new field should be named "add_field," and the flag associated with it will determine whether the record should be dropped or modified, allowing it to continue with further processing.

   <filter syslog.**>
        @type throttle
        group_key  type
        group_bucket_period_s  60
        group_bucket_limit  5000
        group_reset_rate_s  -1
        add_field  throttled  # added acknowledgment like yes for this field.
        proceed_further  true   #defaults as false.
   </filter> 

We would appreciate your input on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant