Questions tagged [google-stackdriver]

83 questions
9
votes
1 answer

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 by in the web interface or fetch historic…
9
votes
1 answer

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.x.x Start Time: Fri, 03 Feb 2017 14:34:57…
8
votes
2 answers

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?
Tommy
  • 81
  • 1
  • 1
  • 2
5
votes
1 answer

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 to install the 16.04 version but it looks like…
4
votes
2 answers

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 logged, and I couldn't find a configuration for…
4
votes
2 answers

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 Monitoring (not Logging) across an entire GCP…
glenpike
  • 41
  • 1
  • 2
4
votes
2 answers

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?
mr paul
  • 53
  • 1
  • 4
4
votes
4 answers

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 trace permissions in the documentation located…
3
votes
1 answer

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 only accept raw text as it would be in .log files…
3
votes
2 answers

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 certificates are invalid? At this point I'm…
Ray Foss
  • 239
  • 2
  • 12
3
votes
1 answer

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 difference is. What can Stackdriver do what Prometheus…
CodeR
  • 39
  • 2
3
votes
1 answer

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 would bring its logs into stackdriver, however…
2
votes
1 answer

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 moment it’s just sending the plain text payload.…
john
  • 151
  • 4
2
votes
1 answer

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 was clear there was nothing wrong---the site is…
2
votes
2 answers

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 Stackdriver. The other GKE Cluster we have that…
1
2 3 4 5 6