Questions tagged [google-logging]

24 questions
0
votes
1 answer

GCP logger filter missing fields

My application runs in NodeJS in GCP Cloud Run, it uses the REST API and logs the request object. I'm trying to filter out results with missing field locationId in jsonPayload.req.body.destination object in GCP logger. I tried this filter: NOT…
0
votes
0 answers

Google Logging List endpoint does not show application logs though the client library shows them

My Rails application needs to pull filtered logs from Google Cloud. I first implemented it via the official google-cloud-logging library, but the Ruby implementation is painfully slow, and each request takes 15-20 seconds. I tried the API explorer…
0
votes
0 answers

GCP log explorer find duplicated specific text message

I am trying to find some duplicated log like for example: "[entry] shipmentOrder 1234" "[entry] shipmentOrder 1234" "[entry] shipmentOrder 1235" "[entry] shipmentOrder 1236" In that case case I would like to find all the log that appear two time…
Jonathan Chevalier
  • 993
  • 1
  • 9
  • 18
0
votes
1 answer

How to map permissions to roles

Permission denied. Please get bigquery.jobs.listExecutionMetadata or bigquery.jobs.listAll permission at organisation level to access Admin Resource Charts. I am getting the above error while trying to access the Monitoring dashboard in…
0
votes
1 answer

Send user to the page they requested before Signing in with google, after they sign in with google

I have a movie quiz app https://www.quizsocial.xyz/, where users can search for a trending movie and take a quiz about the movie’s story, so when they land on the homepage, they search for their movie, they click start quiz, they agree to the rules,…
0
votes
1 answer

Use log filenames as Log names on Google logging

How could I use log filenames as log names on google logging. I have this on google-cloud-ops-agent/config.yaml logging: receivers: nginx_access: type: nginx_access nginx_error: type: nginx_error nginx_access_files: …
Timo77
  • 145
  • 1
  • 1
  • 19
0
votes
0 answers

How to add filters for alerts

What field in the terraform resource "google_monitoring_alert_policy" added filters for google logging alerts?
0
votes
1 answer

How can i extract a log that contains a variable with REGEXP_EXTRACT in google_logging_metric?

I am really new to GCP and creating metrics. We use Grafana to display the count of event logs with the help of "google_logging_metric" created. My use case was Let's say we have a log The Number is {variable}" Possible values for variable is a 5…
0
votes
1 answer

Sink all projects under an organisation into a bigtable

I am building a similar approach to bring all the logs into BigQuery dataset. As per this https://dev.to/alvardev/gcp-cloud-logging-the-basis-45eh I am able to bring the project log details into the corresponding BigQuery. But how do we bring all…
Alex Man
  • 4,746
  • 17
  • 93
  • 178
1
2