Questions tagged [google-stackdriver]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
45 views

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

How can I get AWS cloudwatch logs into GCP stack driver logs viewer?

I have set up the "connector account" thing in Stackdriver, and I'm able to see metrics in GCP, which is super cool! I would now like to also get all cloudwatch logs into google's logging tool. Can ...
1
vote
0answers
34 views

stackdriver severity in GKE sending all to stderr

Tell me whether it is possible to make a separation by severity in stackdriver. All messages in the container are displayed in stderror and in stackdriver, they are marked as errors. The task is to ...
1
vote
1answer
28 views

Accidently created stackdrive workspace account

I am complete beginner, was trying my hand on google cloud free tier. Accidentally created stackdriver workspace with default google cloud project. Will there be charges for it? Does agent by ...
0
votes
1answer
100 views

How do I exclude health checks from Google Cloud Stackdriver traces

I'm running my app in Google Kubernetes Engine, and the Stackdriver Traces are very useful to determine the health and speed of my app. However the large majority of request coming into my app are ...
0
votes
1answer
136 views

GCP Stackdriver log event for failed API attempts due to insufficient access scopes

I would like to monitor for Compute Engine service accounts that attempt API calls beyond their given Access Scope. This could be via the gcloud command or manual API interaction using the OAuth token ...
0
votes
2answers
104 views

How can I be sure that a VM on GCP was not shut down due to it being preemptible? (after the fact, using stackdriver)

I'm looking for a query for stackdriver which will yield preemption events on GCP VMs. Why? Because I have pods disappearing from nodes. Apparently those nodes are later on terminated due to missing ...
0
votes
2answers
83 views

Latency volatility

I use Google Stackdriver Uptime Check on two websites. One of the sites shows a very steady latency graph, whereas the other site's latency graph is constantly spiking up and down. The site that is ...
0
votes
0answers
205 views

How to manually install Stackdriver Monitoring on Google Cloud Platform

We are running several microservices on Google Cloud Platform (GKE using master version v1.12.9-gke.15) and have been using the Stackdriver integration for logging and monitoring (https://cloud.google....
0
votes
1answer
479 views

K8S HPA custom Stackdriver - 503 The service is currently unavailable - avoids scaling

We have an horizontal pod auto-scaler (HPA) installed on gke cluster, most of the time the auto-scaler works perfectly fine. but from time to time (mostly on our customer rush hours) the auto scaler ...
0
votes
1answer
99 views

Google App Engine Traffic Analytics by UserAgent/Operating system

I have an app running in Google App Engine. Their ecosystem seems to provide some facilities for analytics from logs in StackDriver. For the life of me I can't figure out how to get a simple chart ...
0
votes
1answer
68 views

How do i make stackdriver graphs show 24 hour format dates

In my stackdriver dashboard, the horizontal axis is always date/time but it displays in am/pm format, e.g. 5pm, which is a pain as everything else in my workflow is 24hour. I cannot for the life of ...
1
vote
2answers
403 views

How to monitor HTTPS and TCP Load Balancers on GCP

we are using HTTPS and TCP Load balancers in the Google Cloud Platform (GCP) and we want to monitor them (e.g. with Stackdriver). For us, one main criteria seems to be the amount of healthy backend ...
1
vote
0answers
159 views

Set Stackdriver severity based on textPayload

We have an in-house Java application created by our developers that uses log4j to format its logging messages. Recently, we've started to run this on Google Kubernetes Engine and so logs are piped ...
1
vote
0answers
60 views

Googke K8s - Stackdriver Kubernetes Engine Monitoring is enabled but cant see logs in Logs Viewer

Google K8S - Master version 1.13.6-gke.6 On my K8S cluster is Stackdriver Kubernetes Engine Monitoring Enabled, Legacy Stackdriver Logging Disabled, Legacy Stackdriver Monitoring Disabled. ...
1
vote
0answers
16 views

Migrating from one cluster to a new one in google cloud

I have 7-8 different microservices running on google cloud. I'm planning to do API monitoring and I've been asked to use google's stackdriver trace for it. However it turns out, you cannot use ...
2
votes
1answer
405 views

How to extract raw plain text logs from Stackdriver?

We need to extract the logs of GKE-hosted reverse proxies in a raw format that can be parsed by SEO log analysis tools. Unfortunately these tools flat out refuse to ingest CSV and JSON files, they ...
1
vote
1answer
226 views

GAE stackdriver debugger “The debugger could not find a debug target for the application” error

I have deployed a flex aspcore app on GAE and now want to debug it. Unfortunately the stackdriver debugger page is not letting me go further with the following error "The debugger could not find a ...
0
votes
0answers
56 views

Google cloud VPC Firewall rule does not show any rejected logs

I have Google VPC firewall rule to allow ssh(default tcp:22) access to a specific IP address (for example 1.2.3.4/32), this firewall rule has the highest priority in the VPC. The firewall rule has ...
0
votes
1answer
71 views

How to suppress recovery notification in Stackdriver?

I have Alerting Policy in Google's Stackdriver which sends a notification when there is an error in the specific log. For the obvious reason, there is no recovery for such condition, i.e. I don't want ...
0
votes
1answer
547 views

Stackdriver logs stopped appearing in GCP Stackdriver Logging Console

Background I have a Flask server running on GCE's container-optimized image. This server prints a log for every request. Normally, I can view the logs my application prints in GCP Stackdriver Logging ...
2
votes
1answer
393 views

Kubernetes Nginx Ingress Controllers log to Stackdriver

I'm using Nginx Ingress Controller on GKE and I want to send its logs to Stackdriver with the following format https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#HttpRequest. At the ...
3
votes
2answers
559 views

Stackdriver monitor for valid HTTPS certificate?

Stackdriver is great for checking uptime, unfortunately it doesn't care if a TLS certificate is expired or invalid. Has Anyone been able to configure it so that it fails and triggers warnings when the ...
0
votes
1answer
163 views

How to get pod's TCP or WebSocket connection count on Google Kubernetes Engine?

Is there any way to get pod's TCP or WebSocket connection count on Google Kubernetes Engine? My point is, i need to create and scale new pod instance if my pod's connection count (not request) is over ...
0
votes
1answer
48 views

Stackdriver cannot get inventory list and apache data other than scoreboard

I'm working on a project where I have several GCE instances serving web content through apache. I've installed stacdriver monitoring and logging successfully in those instances, but in the Resources -...
0
votes
1answer
53 views

Google Stackdriver Policy Alert Time Period

I have some uptime checks on instances running only in specific day hours. I would like to be able to receive fail alert only in this period. Anyone know if there is a way to set time period like ...
1
vote
2answers
700 views

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?
1
vote
1answer
348 views

Monitoring reports incorrect CPU usage on GCP

I currently administer a website hosted on Google Cloud Platform using Kubernetes Engine. Yesterday I noticed the CPU% feed on the GKE node drop dramatically to just north of 0. After investigating it ...
0
votes
1answer
38 views

Specifying resource in Stackdriver logging

I have a problem with custom metric for Google Stackdriver logging. I have created a simple metric for 404 errors, with this filter: resource.type="gce_instance" textPayload: "HTTP" textPayload: "404"...
0
votes
1answer
30 views

Creating custom alerting policies using data streamed to the cloud from a sensor

I was looking for information and help on how to use data acquired from a sensor device and uploaded to my google cloud project as a metric for an alerting policy on Stackdriver Monitoring. Currently ...
0
votes
1answer
129 views

How to monitor Kafka Consumer lag in Stackdriver?

I can view all the Kafka broker metrics by using the JMX exporter -> stackdriver monitoring agent and is displayed in the Stackdriver but i cant see any consumer metrics, i am particularly interested ...
1
vote
1answer
377 views

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

stackdriver not monitoring kafka metrics

I am trying to setup kafka metrics on stackdriver. I followed all steps as mentioned in https://cloud.google.com/monitoring/agent/plugins/kafka , but still cant see "kafka" metrics. Although I can see ...
0
votes
1answer
216 views

How to automate stackdriver monitoring? Why stackdriver apis are used for?

How can I create new stack driver chart for any VM or cluster or pods created in Stackdriver automatically? Is there any way to achieve stackdriver charts as soon as any resource mentioned above is ...
3
votes
2answers
4k views

Use a wild card in StackDriver Logging

I would like to use wildcard in Google StackDriver Logging filter. However, according to the official website, filter can not use it. Is there any method I can use?
2
votes
2answers
1k 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 ...
1
vote
0answers
171 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 ...
4
votes
2answers
607 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
455 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
73 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
169 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
102 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 ...
3
votes
2answers
5k 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 ...
2
votes
1answer
2k 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
309 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 ...
5
votes
1answer
2k 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 ...
1
vote
0answers
382 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 ...
1
vote
1answer
251 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
987 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
207 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 ...