Nothing Special   »   [go: up one dir, main page]

Skip to content

Simple Tail app for GCP Cloud Build, Cloud Run and PubSub

License

Notifications You must be signed in to change notification settings

owenrumney/gtail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📃 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