Viewing all logs in stackdriver










0














I find myself toggling between different 'resources' to view my logs in stackdriver. For example:



enter image description here



Is there a way to view all combined logs from a single view? Most go to "Global", but many do not as well.










share|improve this question





















  • 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
















0














I find myself toggling between different 'resources' to view my logs in stackdriver. For example:



enter image description here



Is there a way to view all combined logs from a single view? Most go to "Global", but many do not as well.










share|improve this question





















  • 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














0












0








0







I find myself toggling between different 'resources' to view my logs in stackdriver. For example:



enter image description here



Is there a way to view all combined logs from a single view? Most go to "Global", but many do not as well.










share|improve this question













I find myself toggling between different 'resources' to view my logs in stackdriver. For example:



enter image description here



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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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

















  • 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













2 Answers
2






active

oldest

votes


















1














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.






share|improve this answer




















  • 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


















0














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.






share|improve this answer




















    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
    );



    );













    draft saved

    draft discarded


















    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









    1














    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.






    share|improve this answer




















    • 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















    1














    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.






    share|improve this answer




















    • 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













    1












    1








    1






    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.






    share|improve this answer












    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.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    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
















    • 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













    0














    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.






    share|improve this answer

























      0














      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.






      share|improve this answer























        0












        0








        0






        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.






        share|improve this answer












        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 13 '18 at 22:57









        Daniel t.Daniel t.

        608712




        608712



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            這個網誌中的熱門文章

            Barbados

            How to read a connectionString WITH PROVIDER in .NET Core?

            Node.js Script on GitHub Pages or Amazon S3