gtail

module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2023 License: Apache-2.0

README

📃 gtail

Tailing for GCP services to make reading logs easier.

Important Notes

  • ⚠ gtail requires you to have active ADC creds to authenticate against GCP. This can be done by running gcloud auth application-default login if you have the gcloud CLI installed.
  • ⚠ gtail assumes you have the permissions to the project or service you are trying to tail logs for.
  • ⚠ gtail assumes you have the permissions to create subscriptions for the pubsub topic you are trying to tail.

Installation

From source

go install github.com/owenrumney/gtail/cmd/gtail@latest

Alternatively, download the latest release from the releases page

Usage

You need to have authenticated against GCP before using gtail. This can be done by running gcloud auth application-default login if you have the gcloud CLI installed.

gcloud auth application-default login

gtail uses the Application Default Credentials to authenticate against GCP, so once you have done this, gtail can run.

Supported Services

Directories

Path Synopsis
cmd
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL