Skip to content

OpenTelemetry logpusher

Push OpenTelemetry log lines easily to a collector.

logpusher architecture

Watch: logpusher in Action

Want to do the same thing with OpenTelemetry spans and traces? Try tracepusher.

Uses

Try Logpusher

See try logpusher

Quick Start

./logpusher \
  --endpoint http(s)://COLLECTOR-URL:4318 \
  --content "This is my log line"

Advanced Usage

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

See log attribute types

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.