Questions tagged [google-logging]

24 questions
2
votes
3 answers

google cloud platform -- creating alert policy -- how to specify message variable in alerting documentation markdown?

So I've created a logging alert policy on google cloud that monitors the project's logs and sends an alert if it finds a log that matches a certain query. This is all good and fine, but whenever it does send an email alert, it's barebones. I am…
Dmytro Lysak
  • 397
  • 1
  • 4
  • 11
1
vote
1 answer

Google login does not work on Android after publication in Google Play (Flutter )

I really need help because I'm completely out of ideas. Task: I was given a Flutter app that has already been published for several years and was asked to fix the Google login (Firebase) on Android because it stopped working suddenly for the owner.…
1
vote
2 answers

What is the minimum required JSON fields for a logged ERROR to end up in Google Cloud Error Reporting

The minimum JSON for a structured error message to be parsed in by google (i.e. be marked as debug/info/error/... in the GCP logs) is {"severity":"ERROR","message":"hello world"}. But this error will never pop up in GCP Error Reporting. What is the…
Pylinux
  • 11,278
  • 4
  • 60
  • 67
1
vote
0 answers

Got these errors after changing the version of Stackdriver Logging to v2 in Golang

When I updated my appengine logging version to v2. I got these errors. Package: google.golang.org/appengine/v2/log import ( "context" "google.golang.org/appengine/v2/log" ) // LogDebug func LogDebug(ctx context.Context, format string, args…
Kboyz
  • 179
  • 4
  • 13
1
vote
1 answer

Google LoggingAppender and stdout

For debugging/testing purposes, I would like Google's Logback LoggingAppender to write to STDOUT instead to connect to Google's Logging API. According to https://github.com/googleapis/java-logging-logback, this should be possible by using…
Dirk R
  • 357
  • 2
  • 13
1
vote
0 answers

Searching google cloud logs with a bit of context (logs matching a keyword and few logs before and after the matching log.)

When searching kubernetes logs I can add a bit of context to my search using the below command, which will return the logs matching my keyword as well as the 3 logs preceding and following any log matching keyword Kubectl logs mypod | grep…
1
vote
1 answer

BigQuery and Data Studio usage (cost)

I wanted to view the BigQuery costs in my project. I am downloading logs to the table according to the following function: resource.type = "bigquery_resource" protoPayload.methodName = "jobservice.jobcompleted" However, when I view the data, the…
0
votes
1 answer

How to Integrate Login With Google in React Native?

HELP!!! Now, I did Made Login Screen, I will provide a Code but in that code I can not login with google using firebase Error: \[ERROR: DEVELOPER_ERROR\] now how to solve this error? Now, I am able to displays the Google Sign in Button! I want to…
0
votes
1 answer

/v2/entries:tail always returns "INVALID_ARGUMENT"

I am trying to use this API endpoint here: https://cloud.google.com/logging/docs/reference/v2/rest/v2/entries/tail But it does not seem to work as documented: curl -s \ -H 'authorization: Bearer x' \ -H 'accept: application/json' \ -H…
zino
  • 1,222
  • 2
  • 17
  • 47
0
votes
2 answers

How to get the list of columns that the user has access to

Is there any way(with query/python method) to get all the columns a user has in bigquery table? my requirement is userA: TableA.column1, TableA.column2,TableA.column4 userB: TableA.column1, TableA.column3
0
votes
0 answers

In Google Cloud Logging, why are log messages shown out of order?

I have a Java program running in a pod in the Google Kubernetes Environment. In GCP, there is a default logging router that routes stdout and stderr to the GCP Logging app. We have added one exclusion filter to this default router. What I see is…
mab
  • 760
  • 4
  • 18
0
votes
1 answer

How to match URL path using Google RE2 regex

Google Cloud Platform lets you create label logs using the RE2 regex engine. How can I create a regex that matches the path in the URL? Examples matches: https://example.com/awesome --> "awesome" https://example.com/awesome/path …
osolmaz
  • 1,873
  • 2
  • 24
  • 41
0
votes
0 answers

How to add @google-cloud/logging for React native

I want to implement @google-cloud/logging for React native. I tried it in firebase functions side and Node.js. I tried above one and followed this link Google cloud log demo its working in node.js and running it google cloud gets all logs but when I…
0
votes
0 answers

cloud logging labels with links

There are some option to add message link to labels in google logging? I have this log entry and wont to place a link to file _logger.WithLabels(new KeyValuePair[] { new KeyValuePair
Guy
  • 37
  • 3
0
votes
0 answers

How to set type of jsonPayload in BigQuery logging sink?

I have created a Google Cloud Logging sink to BigQuery. When a log is first sent to the sink, a schema for the BQ table is generated as described here. So for example if I log JSON like this: { "foo": "bar", "baz": 10 } Then a schema like this…
mab
  • 760
  • 4
  • 18
1
2