OpenTelemetry logpusher
Push OpenTelemetry log lines easily to a collector.
Watch: logpusher in Action
Want to do the same thing with OpenTelemetry spans and traces? Try tracepusher.
Uses
- Push OpenTelemetry compatible logs from any script, pipeline or process
- Correlate log entries with OpenTelemetry traces
Try Logpusher
See try logpusher
Quick Start
./logpusher \
--endpoint http(s)://COLLECTOR-URL:4318 \
--content "This is my log line"
Advanced Usage
- Correlating Logs to OpenTelemetry Traces
- Docker usage
- Python usage
- CI usage
- Log Attributes
- logpusher reference page
Try In Browser
See try logpusher in-browser without installation.
Python3 Usage
See use logpusher as a Python script.
Docker Usage
See use logpusher as a docker image.
CI Usage
See run a CI pipeline step as a docker image with logpusher.
Dry Run Mode
See dry run mode flag.
Debug Mode
See debug mode flag.
Time Shifting
See time shifting.
Log Attributes
Spin up OpenTelemetry Collector
See OpenTelemetry Collector configuration
Adopters
Do you use logpusher? Thanks and we'd love to know!
Submit a PR and add your details to ADOPTERS.md
FAQs
See FAQ.
Breaking Changes
See Breaking changes
Building
Run all build commands from the root directory:
docker buildx build --platform linux/arm64,linux/amd64 --push -t logpusher:dev-ci -f ./docker/ci/Dockerfile .
docker buildx build --platform linux/arm64,linux/amd64 --push -t logpusher:dev -f ./docker/standard/Dockerfile .
Contributing
All contributions are most welcome!
Get involved: - Tackle a good first issue - Create an issue to suggest something new - File a PR to fix something
Made with contrib.rocks.