Skip to content

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

@ericdahl

Description

@ericdahl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions