Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [google-stackdriver]

The tag has no usage guidance.

0
votes
1answer
25 views

Stackdriver missing GKE Logs

I brought up a new Vault cluster using Terraform (https://github.com/sethvargo/vault-on-gke) and everything is working fine with Vault. However I can't seem to see any Container, Node or Pod logs in ...
0
votes
0answers
13 views

structured logging from a cloud function

So I've been banging my head against this for a while now, thought I'd ask here. Is it possible to use structured logging from within a Cloud Function? The log and metrics agents aren't available in ...
0
votes
2answers
41 views

How to log backend latency in Google Http Load Balancer and Stack Driver

We have a running kubernetes cluster on GKE and we Google HTTP Load Balancer in front of it. HTTP Load Balancer logs all requests and we can access them in stack driver logging. But latency is not ...
0
votes
1answer
131 views

Missing logs in Stackdriver from Kubernetes deployments using GKE

Currently running 28+ deployments under GKE logging to Stackdriver using the automatic fluentd collection. Master K8s Version: 1.10.6-gke.2 Node Version: 1.10.6-gke.2 Logging approximately 200 JSON ...
0
votes
1answer
33 views

GCP Cloud Router Stackdriver metrics not available

Has anyone tried monitoring GCP Cloud Routers with stackdriver? According to their metrics page there are several metrics that should be available, however, the resource explorer shows no indication. ...
0
votes
1answer
38 views

Enabling audit logging on GCP for VM creation

In Google Cloud Platform, is all audit logging enabled by default? I'm interested in Admin Activity logs (https://cloud.google.com/logging/docs/audit/#admin-activity), which "record when VM instances ...
0
votes
1answer
53 views

Tomcat/TomEE creates lots of DEBUG logs on Google KubernetesEngine, but not on plain Docker

We deploy our application on TomEE 7.0.3 (Tomcat 8.5.11) in Docker images. The production platforms run on Google Kubernetes Engine clusters while development, staging and so on run as plain Docker ...
0
votes
1answer
732 views

How to disable Stackdriver Monitoring for a project

After receiving the email from Google about billing changes for Stackdriver Monitoring, I'd like to disable this for our project because we're not currently using it. Is it possible to disable the ...
0
votes
1answer
340 views

Can't see pod logs in Stackdriver UI for cluster deployed on GKE

I deployed an Elasticsearch cluster on Google Kubernetes Engine. I am able to view logs of specific pods with the 'kubectl logs' command from my PC. >kubectl logs es-data-0 ... [2018-06-18T07:35:...
0
votes
1answer
97 views

Debugging Stackdriver geographic uptime check failure

I have a Google App Engine (Flexible Python) application running with Stackdriver monitoring. I have been getting failing uptime checks and I can't figure out if there is a real problem or not. The ...
4
votes
1answer
742 views

How can I install Stackdriver's monitoring agent on Ubuntu 18.04LTS?

I'm trying to use Stackdriver Monitoring on an Ubuntu 18.04 VM on Google Compute Engine. It looks like 18.04 isn't supported yet, even though it's an LTS release. I tried editing the install script ...
0
votes
0answers
150 views

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 ...
0
votes
0answers
26 views

Is it possible to ask Google Cloud services (e.g. Cloud KMS) to send trace spans to Cloud Trace?

I have a custom gRPC backend deployed behind an Endpoints Service Proxy (ESP) connected to Google Cloud Endpoints. When sending a request with the X-Cloud-Trace-Context header set, I can see the ...
0
votes
1answer
62 views

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'...
-1
votes
1answer
237 views

How to determine what quota I'm violating?

Ok, so I'm developing an application for eventual deployment to App Engine and I'm working locally, on my laptop, and I keep getting these errors: Insufficient tokens for quota 'logging.googleapis....
0
votes
1answer
81 views

Google Stackdriver showing usage stats for all kubernetes pods except one

I deployed a Kubernetes Cluster on GCP and use Stackdriver for monitoring CPU & memory. Stackdriver does list stats (CPU, memory etc.) for all pods within the cluster except one. This has lasted ...
0
votes
1answer
62 views

How to monitor VMs and its resources under google cloud (GCP)

I have couple of VMs created on Google cloud platform and deployed tomcat based applications. Now, I would like to monitor the resources (like Memory , CPU, disk , applications etc). Is there any way ...
0
votes
1answer
732 views

How to view Google HTTP load balancer access logs without Stackdriver?

I would like to see GCE HTTP/HTTPS Load Balancer access logs. By default, access logs go to Stackdriver. But we have to exclude the log named “cloud-http-load-balancer” because Stackdriver will start ...
0
votes
1answer
129 views

About GCP Console login audit

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

Google Cloud load balancer POST data

We are using Google Cloud Stackdriver Logs for Load Balancer requests. As far as I see, we can get both GET and POST requests but we cannot reach POST payload. Is it possible to add POST payload to ...
1
vote
1answer
109 views

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 ...
2
votes
1answer
693 views

Stackdriver vs Prometheus - what is the main differences?

Moving from on-premise monlotic architechture style to microservices running in GCP on Kubernetes Cluster. I would like to understand Stackdriver compared to Prometheus. I can not get what the ...
0
votes
1answer
46 views

How to set agent metrics for managed group

I would like to set auto-scaling for my GCE instances. I read the documentations and I understood that I can set a custom metric as the factor to allow google autoscaler to resize my cluster. Now, I ...
0
votes
1answer
65 views

agent.googleapis.com/agent/ no metric found

I'm trying to set an instance group managed autoscaling based on memory_usage. I installed the agent on my GCP windows server VM and I'm able to see metrics on the Stackdriver dashboard. Now, when I ...
1
vote
1answer
295 views

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 ...
0
votes
1answer
418 views

Unable to get Stackdriver Trace information in Google Cloud Console

I have a few microservices running in Container Engine (GKE) and I'm trying to get trace information in Google Console, but something goes wrong. Here is my checklist: Stackdriver Trace API is ...
4
votes
0answers
412 views

Tailing logs with GCE and stackdriver

I have a running Kubernetes cluster that aggregates it's logfiles in stackdriver and would like to tail the aggregated logs on the command line. But so far I am only able to view the json stream float ...
1
vote
0answers
166 views

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 ...
3
votes
1answer
1k views

Does Google Cloud Firewall log allows and denies?

I cannot seem to find a way to see allowed and denied traffic within my Google Cloud Platform logs. Is it true the GCP Firewall does not log allowed/denied traffic?
1
vote
1answer
87 views

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 ...
0
votes
0answers
457 views

using google fluentd to log from compute engine instance in google cloud

I got a problem with the logging agent from Google Cloud. What i wanted was to use the google-fluentd (based on fluentd) on a webserver to collect the logs and sent it to Stackdriver Logging Api. ...
2
votes
1answer
452 views

Installing StackDriver Logging agent on cos image

I'm trying to setup the logging agent for StackDriver on a cos image but its reporting its an unsupported system. My thought is to create a "sidecar" container similar to how an AppEngine Flexible VM ...
0
votes
1answer
171 views

How to create alerting policy on free disk space, only on root filesystem

I wanted to create a Alerting Policy in Stackdriver on "Volume Free Space" to get warned if the disk is almost full. So I used the Metric Threshold alert. However when I enable this check I get ...
7
votes
1answer
2k views

Detecting Kubernetes OOMKilled Events in GKE Logs

I'd like to set up instrumentation for OOMKilled events, which look like this when examining a pod: Name: pnovotnak-manhole-123456789-82l2h Namespace: test Node: test-cluster-cja8smaK-oQSR/10.x....
0
votes
2answers
662 views

Cryptic Stackdriver HTTP Uptime check error using Google Cloud Platform

I want to use Google Cloud's StackDriver integration for health checks and uptime monitoring. I have a web server running on a google instance, available at foo.mydomain.ai. NB: Port 80 is open to ...
3
votes
4answers
2k views

How to enable Stackdriver Monitoring and Stackdriver trace on existing GKE cluster?

Have a cluster setup with the following permissions. I tried creating a node pool with new permissions, which seems to be able to enable some things. I didn't find the scope required for stackdriver ...
1
vote
2answers
274 views

Stackdrive agent metric isn't propagated to GCE instance-group-manager autoscaler

I'm trying to set up autoscaling group of instances on GCE. Autoscaling policy setup to add instance(s) based on percent of used memory. On every instance I installed Stackdriver Monitoring Agent (...
1
vote
2answers
285 views

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 ...