Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 days 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 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T00:39:59.000Z (3 months ago)
- Last Synced: 2024-10-24T06:52:14.678Z (12 days ago)
- Topics: cli, cloud-build, cloud-run, cloudbuild, cloudlog, cloudrun, gcp, golang, pubsub
- Language: Go
- Homepage: https://gtail.app/
- Size: 778 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
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)