Closed dehaansa closed 1 year ago
Can you explain more about the format in which the logs are sent? Will it be possible to save test inputs in json files or other human readable format?
The API says it can deliver payloads of up to 100,000 logs. Is there a configurable maximum?
Can you explain more about the format in which the logs are sent? Will it be possible to save test inputs in json files or other human readable format?
The logs come in a gzipped "file" containing JSON logs separated by newline characters. Definitely can be saved & tested.
The API says it can deliver payloads of up to 100,000 logs. Is there a configurable maximum?
Individual LogPush jobs can have their payload maximums defined as documented here. 1,000 to 100,000 appears to be the supported range of maximum payload size. These variables will be configured by users when they configure their job, outside of the receiver itself.
Thanks @dehaansa, I'll sponsor this.
The purpose and use-cases of the new component
This Cloudflare receiver will receive logs sent from the LogPush API to collect logs from the Cloudflare logs aggregation system. A use case of this receiver is to ingest Cloudflare logs into OTLP format or other desired log platform.
Users will be required to set up their LogPush job external to the receiver, and the receiver is really only specialized to LogPush in the format of the data expected.
The LogPull API ended up not matching our needs (https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/17376) and it was decided that we would write a receiver that supported data being pushed from the LogPush API in a manner similar to the API supported for MongoDB Atlas Alerts
Example configuration for the component
Telemetry data types supported
Logs
Is this a vendor-specific component?
Sponsor (optional)
No response
Additional context
No response