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

feature request: filter events containing an exclude key #16

Open
ac1989 opened this issue Jul 15, 2021 · 0 comments
Open

feature request: filter events containing an exclude key #16

ac1989 opened this issue Jul 15, 2021 · 0 comments

Comments

@ac1989
Copy link

ac1989 commented Jul 15, 2021

I think it would be useful to have a configurable key inside of individual logs that, when present and true, prevents woodchuck from shipping that log to the logging platform.

For example a node lambda with the following serverless config;

woodchuck:
    destination: loggly
    config:
      token: ""
      tag: ""
      exclude_key: "DEBUG"

... would not ship a log like this to loggly;

console.log(JSON.stringify({ hello: "world", DEBUG: true }))

This would allow the addition and modification of adhoc logs where cloudwatch and cloudwatch insights provide sufficient visibility, and where a user doesn't necessarily want said logs to clutter the end logging platform.

Muchos gracias hermano

@ac1989 ac1989 changed the title feature request: filter events containing a debug key feature request: filter events containing an exclude key Jul 15, 2021
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