Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Google Cloud Platform Administration

You're reading from   Google Cloud Platform Administration Design highly available, scalable, and secure cloud solutions on GCP

Arrow left icon
Product type Paperback
Published in Sep 2018
Publisher Packt
ISBN-13 9781788624350
Length 230 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Ranjit Singh Thakurratan Ranjit Singh Thakurratan
Author Profile Icon Ranjit Singh Thakurratan
Ranjit Singh Thakurratan
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Introduction to Google Cloud Platform FREE CHAPTER 2. Google Cloud Platform Compute 3. Google Cloud Platform Storage 4. Google Cloud Platform Networking 5. Google Cloud Platform Containers 6. Google Cloud Platform Operations 7. Google Cloud Platform Identity and Security 8. Google Cloud Platform Billing 9. Google Cloud Platform Tools 10. Other Books You May Enjoy

Logging

Let's look at the logging feature for Stackdriver. If you recall from the earlier section, we installed the logging agent as part of our Stackdriver account setup. Click on Logging on the side bar tab to open a new window. You can select different resources, which include GCE Project, a GCE Firewall Rule, or even a GCE VM Instance:

Click on Load older logs to review these logs:

You can also filter using the Any log level option, or using the time frame:

Let's select our virtual machine instance and review its logs:

I intentionally stopped the Apache2 web server and noticed these new logs at the bottom:

Let's start the Apache2 web server and see whether the logs reflect this event. Click on the Jump to now button on top of the page to load the latest logs:

Now we'd like the logs to auto-populate. For this to happen, enable Log streaming:

This...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime