Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.
/ pubsubbeat Public archive
forked from googlearchive/pubsubbeat

An Elastic Beat to ingest data from Google Pub/Sub

License

Notifications You must be signed in to change notification settings

snyk/pubsubbeat

 
 

Repository files navigation

Build Status Go Report Card License

Pubsubbeat

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.

Getting Started with Pubsubbeat

Requirements

Build

To build the binary for Pubsubbeat run the command below. This will generate a binary in the same directory with the name pubsubbeat.

make

Run

To run Pubsubbeat with debugging output enabled, run:

./pubsubbeat -c pubsubbeat.yml -e -d "*"

Test

To test Pubsubbeat, run the following command:

make test

Cleanup

To clean Pubsubbeat source code, run the following commands:

make pre-commit

To clean up the build directory and generated artifacts, run:

make clean

Packaging

To build releases for available platforms:

make release

This will fetch and create binaries for all Linux, Windows and OSX

About

An Elastic Beat to ingest data from Google Pub/Sub

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 68.5%
  • Shell 13.7%
  • Python 8.6%
  • Makefile 5.9%
  • Dockerfile 3.3%