fluentd-output-sumologic icon indicating copy to clipboard operation
fluentd-output-sumologic copied to clipboard

Noisy logs "Unknown key" from cookie handling code

Open ericdahl opened this issue 1 year ago • 0 comments

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

ericdahl avatar Mar 28 '23 22:03 ericdahl