Questions tagged [google-stackdriver]
84 questions
1
vote
2 answers
Why no sshd logs on Stackdriver?
On a GCP Compute Engine instance, OS is Ubuntu 18.04, Stackdriver logging agent is installed.
Any idea why Stackdriver doesn't ingest auth.log by default? What would be the best way to do it?

Rhangaun
- 189
- 1
- 15
1
vote
1 answer
Stackdriver Logging doesn't recognize time field in JSON log
I'm using Google Kubernetes Engine (GKE) in conjunction with Stackdriver Logging.
The Stackdriver's documentation says there are some special fields used by Logging agent to set fields in the LogEntry object.
As regard to severity field, it works…

Akihiro HARAI
- 175
- 7
1
vote
1 answer
How to get the Compute Engine logs to end up in the structured jsonPayload instead of the textPayload?
I'm running an API on a Linux VM as a Compute Instance in the Google Cloud. The API is being run with systemd, and it's logging to syslog. I run the StackDriver logging agent to transfer the logs to StackDriver.
From this API I'm logging Json…

Mark
- 111
- 5
1
vote
1 answer
GCP Autoscaling based on memory (stackdriver)
I want to configure autoscaling based on memory using stackdriver metrics.
I've installed stackdriver agent on VM and when I'm trying to configure Instance groups and I choose stackdriver metrics. I've got information This feature is not available…

danielitit
- 11
- 1
1
vote
1 answer
About GCP Console login audit
I wonder How to get "audit log" GCP Console (https://console.cloud.google.com) loggin failure ?
Thank you.

fruit mogitate
- 11
- 1
1
vote
1 answer
Adding an AWS account to Stackdriver Premium Monitoring results in a "User is not authorized error"
I am following the Stackdriver instructions to add an AWS account to monitor:
Authorize AWS for Stackdriver
Log in to your Amazon IAM console and click Roles.
Click “Create New Role”
Enter Stackdriver as the “Role Name” and click “Next…

Victor Trac
- 277
- 2
- 3
1
vote
1 answer
How to use CloudWatch or Stackdriver to verify cron job ran?
One particular use case applying to this question is that we have some resources in AWS EC2 and Google Cloud Compute with a cron job to do a nightly disk snapshot.
Is there a way to use Stackdriver to monitor the snapshot is invoked and send an…

Rob Olmos
- 2,240
- 1
- 15
- 26
1
vote
1 answer
Exporting Cloudwatch logs to Stackdriver
I am using AWS Lambda functions that log to Cloudwatch. However, I prefer Google Stackdriver's logging features. How can I export the logs from Cloudwatch to Stackdriver? I know I can export them to S3, but then what? Do I have to write an ETL…

skunkwerk
- 121
- 2
1
vote
1 answer
Google Stackdriver absence alert for AWS instances
Using Stackdriver and trying to create an absence alert for both GCE and AWS instances. GCE instances show up under the dropdown INSTANCE_ID, but we don't see our AWS instances listed in that dropdown even though they are sending logs and show up in…

Justin
- 5,328
- 19
- 64
- 84
1
vote
2 answers
Monitoring and alerting on Google Cloud Bigtable
We are building a data pipeline on GCP and chosen Bigtable as our data warehouse for raw events. My problem is - I cannot find a way to properly monitor the cluster. The dashboard offers a limited amount of metrics which could do the trick if there…

Yaron Idan
- 187
- 1
- 6
1
vote
1 answer
Google Cloud Monitoring storage dashboard not showing Object Count or Object size for bucket
I'm trying to see Object Count and Object Size in the Cloud Monitoring dashboard for Cloud Storage. For some buckets, the Object Count and Object size data are not populating. All I'm seeing is "No data is available for the selected time…

Michael Woo
- 11
- 1
1
vote
2 answers
HIgh CPU Usage on Google Cloud Monitoring
I am running a Google Cloud VM. Once I go to the monitoring Tab. I see that VM CPU utilisation is 70% as shown in screenshot also.
Google Cloud MOnitoring
But Once I SSH and use the terminal and use top command to view usage it shows only 5%. Anyone…

Wacas
- 11
- 1
- 2
1
vote
1 answer
Reset GCP compute engine instance on stackdriver alert
I have stackdriver alerts setup that notify whenever the CPU utilisation for a compute engine instance falls below or rises above some thresholds.
I would like to restart the instance whenever this alert is fired.
How do I achieve this without…

vsr
- 111
- 3
1
vote
1 answer
How to disable Stackdriver Monitoring in Google Cloud Kubernetes?
I found this answer: https://serverfault.com/questions/918671/how-to-disable-stackdriver-monitoring-for-a-project?r=SearchResults&s=1|89.7109
But it's from 2 years ago and can't be applied at the moment.
I tried to dig Google Cloud Documentation for…

Goon Nguyen
- 131
- 6
1
vote
1 answer
How to implement Cloud Monitoring Uptime checks for instances without external IP ( private websites )
Cloud Monitoring Uptime checks allow users to send a request to a resource to see if it respond.
Since the checks are performed outside Google Cloud infrastructure, an external ip is needed.
Is there a way to implement Uptime checks for sites (…

Armando Cuevas
- 243
- 1
- 15