https://github.com/owenrumney/gtail
Simple Tail app for GCP Cloud Build, Cloud Run and PubSub
https://github.com/owenrumney/gtail
cli cloud-build cloud-run cloudbuild cloudlog cloudrun gcp golang pubsub
Last synced: 6 months ago
JSON representation
Simple Tail app for GCP Cloud Build, Cloud Run and PubSub
- Host: GitHub
- URL: https://github.com/owenrumney/gtail
- Owner: owenrumney
- License: apache-2.0
- Created: 2023-01-26T19:16:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-16T23:02:38.000Z (8 months ago)
- Last Synced: 2025-05-07T08:14:18.255Z (8 months ago)
- Topics: cli, cloud-build, cloud-run, cloudbuild, cloudlog, cloudrun, gcp, golang, pubsub
- Language: Go
- Homepage: https://gtail.app/
- Size: 804 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-repositories - owenrumney/gtail - Simple Tail app for GCP Cloud Build, Cloud Run and PubSub (Go)
README
# :page_with_curl: gtail
Tailing for GCP services to make reading logs easier.
## Important Notes
- :warning: 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.
- :warning: gtail assumes you have the permissions to the project or service you are trying to tail logs for.
- :warning: gtail assumes you have the permissions to create subscriptions for the pubsub topic you are trying to tail.
## Installation
From source
```bash
go install github.com/owenrumney/gtail/cmd/gtail@latest
```
Alternatively, download the latest release from the [releases page](https://github.com/owenrumney/gtail/releases)
## 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.
```bash
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
- [Cloud Build](https://gtail.app/cloudbuild)
- [Cloud Functions](https://gtail.app/cloudfunction)
- [Cloud Run](https://gtail.app/cloudrun)
- [K8s](https://gtail.app/k8s)
- [Pub/Sub](https://gtail.app/pubsub)