Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.29 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.29 KB

📃 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