-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Log Drain Support for Sentry Logging #91726
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
Comments
I would like to see Sentry supported as a Log Sink for Vector. This could be as simple as Sentry having a compatible HTTP endpoint for receiving logs: |
@sgarner how do you debug application code problems with logs from other sources? Just want to understand a few examples and your workflows today |
✅ Suggested SolutionTo support generic log drain providers, expose a universal ingestion endpoint that accepts structured log payloads (JSON over HTTP) with provider-specific adapters for normalization. 🔧 Each adapter could map common log fields (e.g., 📍Extend the existing ingestion pipeline or create a lightweight log-ingest service behind a |
It's commonly useful to want see related logs from Apache, Nginx, other microservices, etc, when debugging an issue. The Elastic Common Schema is amazingly useful to coordinate the naming of common log fields between multiple sources: Anything with the same |
@strokirk thanks for the feedback!
What log sinks/log drains are you using today for this?
We're relying on the OpenTelemetry (OTEL) semantic conventions (https://opentelemetry.io/docs/concepts/semantic-conventions/) when deciding naming of fields. OpenTelemetry is an open standard, so we are trying to follow it instead of any vendor specific naming strategies. In this case, OTEL uses ![]() |
@AbhiPrasad Our current log sink is logging to a file in I looked for a few minutes but couldn't find any reference to I think ECS is also an open standard, just as an addendum. |
Ah for See the OTEL spec here: https://opentelemetry.io/docs/specs/otel/logs/data-model/#field-traceid Part of our challenge with supporting log drains/log sinks will be trying to make them trace connected.
ECS announced they would merge/donate attributes to OpenTelemetry: https://opentelemetry.io/blog/2023/ecs-otel-semconv-convergence/. We are operating under the assumption that OpenTelemetry is the mains standard going forward.
Perhaps we can update |
You can now send structured logs to Sentry! See the docs here.
Currently you need to use one of our SDKs to send logs, but we're exploring the use case of Log Drains. This issue tracks supporting log drain providers.
If you're interested in log drain support, please leave a react on this GitHub issue. That will help us prioritize this accordingly. We created some child issues to track popular providers, but if there is a provider missing let us know and we'll open a new issue for it.
The text was updated successfully, but these errors were encountered: