Tailing for GCP services to make reading logs easier.
β οΈ gtail requires you to have active ADC creds to authenticate against GCP. This can be done by runninggcloud auth application-default loginif 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.
From source
go install github.com/owenrumney/gtail/cmd/gtail@latest
Alternatively, download the latest release from the releases page
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.