Playing with Cloud Logging | Scribe

    Playing with Cloud Logging

    • Hafeez Baig |
    • 32 steps |
    • 3 minutes
    information ordinal icon
    Refer to this guide to learn about Cloud Storage and Cloud Function \ <https://scribehow.com/shared/Creating_a_Cloud_Storage_Bucket_and_Cloud_Function__VaRB_vSeSgaaC-dkJuTjnw>
    1
    Sign in into the **Google Cloud Platform**
    2
    Type "**Cloud Storage**" in the search bar and click on the **Cloud Storage** option
    information ordinal icon
    **What is Cloud Storage?**\ \ **Cloud Storage** in Google Cloud is a scalable, secure, and durable service for storing and retrieving large amounts of data, such as files, backups, and multimedia. It supports a wide range of use cases, including data archiving, serving website content, and hosting large datasets. You can store objects (files) in **buckets** and access them from anywhere via the web using Google's infrastructure.
    3
    **Buckets** wizard will open, click on the Name **my_bucket_tied_with_cf_1_in28minutes**
    4
    **my_bucket_tied_with_cf_1_in28minutes** wizard will open, here you can view all the bucket details
    5
    Open **my files** and select all the folders and copy **Note:** You can get these files from the Resources section or from the GitHub Repository.
    6
    On the **my_bucket_tied_with_cf_1_in28minutes** wizard paste all the copied folders
    7
    Now to see all the Logs, type "**Logging**" in the search bar and click on the **Logging** option
    information ordinal icon
    **What is Logging?**\ \ **Logging** in Google Cloud refers to the collection, storage, and analysis of log data from your cloud resources and applications. Google Cloud Logging captures logs from services like Compute Engine, Cloud Functions, and Cloud Run, helping you monitor activity, troubleshoot issues, and audit system events. Logs provide insights into application performance, security, and errors, making them essential for managing and maintaining cloud infrastructure.
    8
    **Logs Explorer** wizard will open, click on the **Logs explorer** option from the left bar
    information ordinal icon
    **What is Logs explorer?**\ \ **Logs Explorer** in Google Cloud is a tool that allows you to view, search, and analyze logs from your cloud resources and services. It provides an interface to filter logs based on criteria like time range, resource type, or specific log messages, helping you troubleshoot issues, monitor performance, and gain insights into your system's behavior. Logs Explorer is essential for managing and analyzing log data efficiently within the Google Cloud environment.
    9
    On the **RESOURCE TYPE** wizard click on the **Cloud Function** option
    10
    Scroll to the **Timeline** section, then scroll to the **SEVERITY** section and click on the expand icon
    11
    **Explain this log entry** wizard will open, here you can view all the logs which are recorded for the Cloud Function
    12
    Scroll to the **operation** section and click on the expand icon
    13
    Here you can view the **Operations** for the each log
    14
    On the **Log storage** wizard, click on the **Log storage** option from the left bar
    information ordinal icon
    **What is Log store?**\ \ **Log store** in Google Cloud refers to the storage system where all log data collected from your cloud resources is saved. It is part of Google Cloud Logging and securely holds logs from various services like Compute Engine, Cloud Functions, and others. The log store enables you to retain, access, and analyze logs over time, helping with troubleshooting, auditing, and compliance needs.
    15
    Scroll to the **Log buckets** wizard, here you can view and configure the Log Storage