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

Noisy logs "Unknown key" from cookie handling code #83

Open
ericdahl opened this issue Mar 28, 2023 · 0 comments
Open

Noisy logs "Unknown key" from cookie handling code #83

ericdahl opened this issue Mar 28, 2023 · 0 comments

Comments

@ericdahl
Copy link

I've been evaluating sumo and this plugin. While using it, we noticed noise in the fluend logs like:

Unknown key: MAX-AGE = 604800
Unknown key: MAX-AGE = 604800
Unknown key: SameSite = None

repeatedly. It doesn't seem to use the fluentd logging functionality, so there's no way to filter it out.

I dug into it further and it seems like it's coming from the httpclient dependency which doesn't know about these 2 Set-Cookie parameters and the Sumo API is returning these in each API call. (Though I'm not sure why cookies would be needed for stateless ingest of logs)

I'm guessing there's no easy fix here, besides fixing it upstream. Though I am curious why cookies/sessions are needed for API ingest or if I'm misunderstanding something

Screenshot 2023-03-28 at 3 16 50 PM

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