Questions tagged [google-cloud-logging]

Google Cloud Logging collects and stores logs from applications and services on the Google Cloud Platform

Introduction

Google Cloud Logging collects and stores logs from applications and services on the Google Cloud Platform:

  • View your logs with the Logs Viewer.
  • Export your logs to Google Cloud Storage, Google BigQuery, or Google Cloud Pub/Sub.
  • Integrate third-party logs from your virtual machine instances by installing the logging agent, google-fluentd.

Cloud Logging saves metadata with every log entry so that you can tell when the log entry was created, from what resource or instance it came, what its severity level is, and so forth. The log entry's original content, or payload, might be saved as a text string or as a structured object, depending on the log type.

Official documentation

622 questions
-2
votes
1 answer

where are logs for GCP API calls surfaced?

I have python code, calling an API to list all my instances. Here's the API I'm calling. https://cloud.google.com/compute/docs/reference/rest/v1/instances/list However, I can't seem to locate the logs in log explorer. In AWS this was pretty…
-2
votes
1 answer

How to view application logs compute engine in google cloud

I am new to google cloud. I have a java application and I write logs in my compute engines storage itself. That is I have a log folder inside my e2-small machine and I have log files in that folder. I can ssh to my compute engine and view logs but…
-2
votes
1 answer

How to filter GCP stackdriver logs by timestamp from python for given Date range

FILTER = ' timestamp > "2021-04-15T01:00:00Z" AND timestamp < "2021-04-20T01:00:00Z" ' this filter wonn't work for given date range, what can be the possible FILTER in python that can fetch logs within the given datetime range
-3
votes
1 answer

Can @google-cloud/logging be used in Ionic4/Angular8/Firebase client app? How to fix module import errors

I want to use nodejs-logging in an app using Ionic 4, Angular 8, and Firebase to write logs to StackDriver. In the app root I do the following: npm install @google-cloud/logging Go to @google-cloud/logging/build/proto/logging.d.ts, and add this…
-3
votes
1 answer

About GCP Console login audit

I wonder How to get "audit log" GCP Management Console (https://console.cloud.google.com) loggin failure ? Thank you.
-4
votes
1 answer

GCP Logging - Identify Unusual Traffic

I recently noticed some unusual traffic on my Google Cloud SQL instance. Can you please help me identify the source of this traffic?(Attached image) Interestingly, I get around 40 Hits(All 'password authentication failed') in a 15 minute span…
-9
votes
3 answers

How to use google-api-client for Google Cloud Logging

I want to access to Google Cloud Platform Logging from a python script. I have get to access to this logs from https://cloud.google.com/logging/docs/reference/v2/rest/v2/entries/list --> Try this API Now I want to get the same, but from a Python…
1 2 3
41
42