Viewing all logs in stackdriver
I find myself toggling between different 'resources' to view my logs in stackdriver. For example:
Is there a way to view all combined logs from a single view? Most go to "Global", but many do not as well.
google-cloud-platform stackdriver google-cloud-stackdriver
add a comment |
I find myself toggling between different 'resources' to view my logs in stackdriver. For example:
Is there a way to view all combined logs from a single view? Most go to "Global", but many do not as well.
google-cloud-platform stackdriver google-cloud-stackdriver
This is not supported yet. I recommend that you submit a Feature Request. Google will consider the need based on its feasibility, or the number of customers who ask for it, but I can't guarantee an implementation or provide you with an ETA for it. Rest assured that Google strives on improving its products and that your feedback helps us do just that
– Mahmoud Sharif
Nov 14 '18 at 21:47
add a comment |
I find myself toggling between different 'resources' to view my logs in stackdriver. For example:
Is there a way to view all combined logs from a single view? Most go to "Global", but many do not as well.
google-cloud-platform stackdriver google-cloud-stackdriver
I find myself toggling between different 'resources' to view my logs in stackdriver. For example:
Is there a way to view all combined logs from a single view? Most go to "Global", but many do not as well.
google-cloud-platform stackdriver google-cloud-stackdriver
google-cloud-platform stackdriver google-cloud-stackdriver
asked Nov 12 '18 at 23:49
David LDavid L
33915
33915
This is not supported yet. I recommend that you submit a Feature Request. Google will consider the need based on its feasibility, or the number of customers who ask for it, but I can't guarantee an implementation or provide you with an ETA for it. Rest assured that Google strives on improving its products and that your feedback helps us do just that
– Mahmoud Sharif
Nov 14 '18 at 21:47
add a comment |
This is not supported yet. I recommend that you submit a Feature Request. Google will consider the need based on its feasibility, or the number of customers who ask for it, but I can't guarantee an implementation or provide you with an ETA for it. Rest assured that Google strives on improving its products and that your feedback helps us do just that
– Mahmoud Sharif
Nov 14 '18 at 21:47
This is not supported yet. I recommend that you submit a Feature Request. Google will consider the need based on its feasibility, or the number of customers who ask for it, but I can't guarantee an implementation or provide you with an ETA for it. Rest assured that Google strives on improving its products and that your feedback helps us do just that
– Mahmoud Sharif
Nov 14 '18 at 21:47
This is not supported yet. I recommend that you submit a Feature Request. Google will consider the need based on its feasibility, or the number of customers who ask for it, but I can't guarantee an implementation or provide you with an ETA for it. Rest assured that Google strives on improving its products and that your feedback helps us do just that
– Mahmoud Sharif
Nov 14 '18 at 21:47
add a comment |
2 Answers
2
active
oldest
votes
Just convert the filter to advanced view and select the resource types that you need
resource.type="bigquery_resource" OR resource.type="gce_instance" OR resource.type="audited_resource"
That will show you the logs for bigquery and audit and gce in a single view.
thanks for this answer -- is there a way to do this in the UI itself?
– David L
Nov 13 '18 at 19:08
"Convert to advanced filter" is done within UI.
– Asif Tanwir
Nov 21 '18 at 23:56
add a comment |
I believe you can do textual search across all logs, but it will not be as granular as resource type based search. You can try this with the Advanced filter feature.
On the top right corner of the search box, click the drop down menu and select "Convert to advanced filter". Then delete the "resource.type=xyz" line and type the string you want to search.
As alternative the gcloud sdk
cli to search the logs without specifying resource type - for instance, gcloud logging read error --limit 1
would look for "error" string across all your logs and show only 1 matching entry.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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%2f53271761%2fviewing-all-logs-in-stackdriver%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Just convert the filter to advanced view and select the resource types that you need
resource.type="bigquery_resource" OR resource.type="gce_instance" OR resource.type="audited_resource"
That will show you the logs for bigquery and audit and gce in a single view.
thanks for this answer -- is there a way to do this in the UI itself?
– David L
Nov 13 '18 at 19:08
"Convert to advanced filter" is done within UI.
– Asif Tanwir
Nov 21 '18 at 23:56
add a comment |
Just convert the filter to advanced view and select the resource types that you need
resource.type="bigquery_resource" OR resource.type="gce_instance" OR resource.type="audited_resource"
That will show you the logs for bigquery and audit and gce in a single view.
thanks for this answer -- is there a way to do this in the UI itself?
– David L
Nov 13 '18 at 19:08
"Convert to advanced filter" is done within UI.
– Asif Tanwir
Nov 21 '18 at 23:56
add a comment |
Just convert the filter to advanced view and select the resource types that you need
resource.type="bigquery_resource" OR resource.type="gce_instance" OR resource.type="audited_resource"
That will show you the logs for bigquery and audit and gce in a single view.
Just convert the filter to advanced view and select the resource types that you need
resource.type="bigquery_resource" OR resource.type="gce_instance" OR resource.type="audited_resource"
That will show you the logs for bigquery and audit and gce in a single view.
answered Nov 13 '18 at 15:00
Rafa DiazRafa Diaz
262
262
thanks for this answer -- is there a way to do this in the UI itself?
– David L
Nov 13 '18 at 19:08
"Convert to advanced filter" is done within UI.
– Asif Tanwir
Nov 21 '18 at 23:56
add a comment |
thanks for this answer -- is there a way to do this in the UI itself?
– David L
Nov 13 '18 at 19:08
"Convert to advanced filter" is done within UI.
– Asif Tanwir
Nov 21 '18 at 23:56
thanks for this answer -- is there a way to do this in the UI itself?
– David L
Nov 13 '18 at 19:08
thanks for this answer -- is there a way to do this in the UI itself?
– David L
Nov 13 '18 at 19:08
"Convert to advanced filter" is done within UI.
– Asif Tanwir
Nov 21 '18 at 23:56
"Convert to advanced filter" is done within UI.
– Asif Tanwir
Nov 21 '18 at 23:56
add a comment |
I believe you can do textual search across all logs, but it will not be as granular as resource type based search. You can try this with the Advanced filter feature.
On the top right corner of the search box, click the drop down menu and select "Convert to advanced filter". Then delete the "resource.type=xyz" line and type the string you want to search.
As alternative the gcloud sdk
cli to search the logs without specifying resource type - for instance, gcloud logging read error --limit 1
would look for "error" string across all your logs and show only 1 matching entry.
add a comment |
I believe you can do textual search across all logs, but it will not be as granular as resource type based search. You can try this with the Advanced filter feature.
On the top right corner of the search box, click the drop down menu and select "Convert to advanced filter". Then delete the "resource.type=xyz" line and type the string you want to search.
As alternative the gcloud sdk
cli to search the logs without specifying resource type - for instance, gcloud logging read error --limit 1
would look for "error" string across all your logs and show only 1 matching entry.
add a comment |
I believe you can do textual search across all logs, but it will not be as granular as resource type based search. You can try this with the Advanced filter feature.
On the top right corner of the search box, click the drop down menu and select "Convert to advanced filter". Then delete the "resource.type=xyz" line and type the string you want to search.
As alternative the gcloud sdk
cli to search the logs without specifying resource type - for instance, gcloud logging read error --limit 1
would look for "error" string across all your logs and show only 1 matching entry.
I believe you can do textual search across all logs, but it will not be as granular as resource type based search. You can try this with the Advanced filter feature.
On the top right corner of the search box, click the drop down menu and select "Convert to advanced filter". Then delete the "resource.type=xyz" line and type the string you want to search.
As alternative the gcloud sdk
cli to search the logs without specifying resource type - for instance, gcloud logging read error --limit 1
would look for "error" string across all your logs and show only 1 matching entry.
answered Nov 13 '18 at 22:57
Daniel t.Daniel t.
608712
608712
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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%2f53271761%2fviewing-all-logs-in-stackdriver%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
This is not supported yet. I recommend that you submit a Feature Request. Google will consider the need based on its feasibility, or the number of customers who ask for it, but I can't guarantee an implementation or provide you with an ETA for it. Rest assured that Google strives on improving its products and that your feedback helps us do just that
– Mahmoud Sharif
Nov 14 '18 at 21:47