This project is no longer actively maintained by Google.
- GitLab hosts a fork at: https://gitlab.com/gitlab-org/pubsubbeat
- For other assistance, please reach out to the Google Open Source Programs Office.
Pubsubbeat is an elastic Beat for Google Cloud Pub/Sub. This Beat subscribes to a topic and ingest messages.
The main motivation behind the development of this plugin is to ingest Stackdriver Logs via the Exported Logs feature and send them directly to Elasticsearch ingest nodes.
This is not an officially supported Google product.
- Golang 1.12
To build the binary for Pubsubbeat run the command below. This will generate a binary in the same directory with the name pubsubbeat.
make
To run Pubsubbeat with debugging output enabled, run:
./pubsubbeat -c pubsubbeat.yml -e -d "*"
To test Pubsubbeat, run the following command:
make test
To clean Pubsubbeat source code, run the following commands:
make pre-commit
To clean up the build directory and generated artifacts, run:
make clean
To build releases for available platforms:
make release
This will fetch and create binaries for all Linux, Windows and OSX