Tail a log using gloud logging read?
up vote
0
down vote
favorite
Is it not possible to watch the tail of a particular log on the terminal command line using gcloud logging read command? I'm looking for something akin to the well known tail -f invocation on standard linux. I can't find any documented parameter which allows it. The web console provides a play button feature which does exactly this, but when I leave it running for more than 10 minutes the whole tab becomes unresponsive and it feels like it will crash the whole browser.
I've got a decent log filter that I want to "watch" on my terminal, and not in my Chrome browser. However the watch command doesn't read output from gcloud command, it just sits there when I try the watch -n 30 gcloud logging read ... invocation.
Thoughts, suggestions are most welcome.
add a comment |
up vote
0
down vote
favorite
Is it not possible to watch the tail of a particular log on the terminal command line using gcloud logging read command? I'm looking for something akin to the well known tail -f invocation on standard linux. I can't find any documented parameter which allows it. The web console provides a play button feature which does exactly this, but when I leave it running for more than 10 minutes the whole tab becomes unresponsive and it feels like it will crash the whole browser.
I've got a decent log filter that I want to "watch" on my terminal, and not in my Chrome browser. However the watch command doesn't read output from gcloud command, it just sits there when I try the watch -n 30 gcloud logging read ... invocation.
Thoughts, suggestions are most welcome.
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Is it not possible to watch the tail of a particular log on the terminal command line using gcloud logging read command? I'm looking for something akin to the well known tail -f invocation on standard linux. I can't find any documented parameter which allows it. The web console provides a play button feature which does exactly this, but when I leave it running for more than 10 minutes the whole tab becomes unresponsive and it feels like it will crash the whole browser.
I've got a decent log filter that I want to "watch" on my terminal, and not in my Chrome browser. However the watch command doesn't read output from gcloud command, it just sits there when I try the watch -n 30 gcloud logging read ... invocation.
Thoughts, suggestions are most welcome.
Is it not possible to watch the tail of a particular log on the terminal command line using gcloud logging read command? I'm looking for something akin to the well known tail -f invocation on standard linux. I can't find any documented parameter which allows it. The web console provides a play button feature which does exactly this, but when I leave it running for more than 10 minutes the whole tab becomes unresponsive and it feels like it will crash the whole browser.
I've got a decent log filter that I want to "watch" on my terminal, and not in my Chrome browser. However the watch command doesn't read output from gcloud command, it just sits there when I try the watch -n 30 gcloud logging read ... invocation.
Thoughts, suggestions are most welcome.
asked 17 hours ago
Dhiraj Gupta
2,66412336
2,66412336
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53370943%2ftail-a-log-using-gloud-logging-read%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown