fluentd-output-sumologic
fluentd-output-sumologic copied to clipboard
Noisy logs "Unknown key" from cookie handling code
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
