Overview
cloudtail is a lightweight cloud-native command-line tool written in Golang that allows users to view or tail logs from Google Cloud Logging (similar to kubectl logs).
Required permission
-
This tool requires only the Logs Viewer (roles/logging.viewer) permission on the target project
-
Authentication is handled via Application Default Credentials (ADC)
How to run
Prerequisites
- Ensure you have Golang installed on your machine.
Installation
- Clone the repository
git clone https://github.com/auxence-m/cloudtail.git- Navigate to the project directory
cd cloudtail- Install dependencies
go mod tidy- Build the application
go buildAfter building, you’ll find the cloudtail executable (cloudtail.exe on Windows) in your project directory.
- Run the application
cloudtail [command] --flagDocumentation
Full documentation for cloudtail, including all available commands, can be found in the documentation page
Last updated on