gcloud-tail
The gcloud CLI provides a way to "tail" logs from Google App Engine, but not from Stackdriver. Which is
odd, because it's not especially difficult to do so. That's what this utility accomplishes.
Usage
Run this as gcloud-tail FILTER. The result is in JSON format, with one line per log message.
You can process the results with jq. For example:
$ gcloud-tail 'severity>=ERROR' | jq -r .textPayload
Installation
This is a simple Python distribution. The easiest way to install is
pip install gcloud-tail
Release files for gcloud-tail 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gcloud-tail-1.0.0.tar.gz | 1.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gcloud_tail-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.0 kB
Release files / gcloud-tail-1.0.0.tar.gz
| Download URL | gcloud-tail-1.0.0.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
948d6a360004fc5d77f4a41a6d95ced0ee86fbea25fdd2c79a534072ec3adbf5
|
|
BLAKE2b-256 checksum How to use checksums |
82c0336978270ee9a685d6f956e4c017a844ac621a35c9eceecb401f59248552
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9
|
Release files / gcloud_tail-1.0.0-py3-none-any.whl
| Download URL | gcloud_tail-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
065dfa7c826794b02abf11ff822c5fcd03343ffd83242b9cce3a3f90d18276e6
|
|
BLAKE2b-256 checksum How to use checksums |
3f55eb38eea73fe4a398a7b89d95b9a1c8764b6f4baccc2d804f8f615019d5a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9
|