Hi, Can you please guide me about how can i configure google stack driver Logging extension ?

I am trying to use ExtensionCallout policy for googlr stack driver logging, but, having some problem about configuring Extension, please guide what should i give here in credentials field

8311-capture.png

also guide me why i am getting this error

8312-capture.png

Please provide a detailed solution.

Thanks in advance and in remains.

Solved Solved
0 3 234
1 ACCEPTED SOLUTION

Hi,

You have to put the contents of a key JSON file here in the Credentials field. It will look like this:

{
  "type": "service_account",
  "project_id": "solar-grail-xxxxx",
  "private_key_id": "xxx",
  "private_key": "-----BEGIN PRIVATE KEY-----xxx",
  "client_email": "xxx",
  "client_id": "xxx",
  "auth_uri": "https://accounts.google.com/o/oauth2/auth",
  "token_uri": "https://accounts.google.com/o/oauth2/token",
  "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
  "client_x509_cert_url": "xxx"
}

There is more information about this procedure under the Prerequisites section at
https://docs.apigee.com/api-platform/reference/extensions/google-stackdriver-logging/google-stackdri...

The error you are seeing might be because of the missing credentials.

View solution in original post

3 REPLIES 3

Hi,

You have to put the contents of a key JSON file here in the Credentials field. It will look like this:

{
  "type": "service_account",
  "project_id": "solar-grail-xxxxx",
  "private_key_id": "xxx",
  "private_key": "-----BEGIN PRIVATE KEY-----xxx",
  "client_email": "xxx",
  "client_id": "xxx",
  "auth_uri": "https://accounts.google.com/o/oauth2/auth",
  "token_uri": "https://accounts.google.com/o/oauth2/token",
  "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
  "client_x509_cert_url": "xxx"
}

There is more information about this procedure under the Prerequisites section at
https://docs.apigee.com/api-platform/reference/extensions/google-stackdriver-logging/google-stackdri...

The error you are seeing might be because of the missing credentials.

Thanks for your help, it worked.

Stackdriver logging is an inevitable monitoring service. It helps in storing, analyzing and searching on log data and events from Google Cloud Platform and Amazon Web Services (AWS). We must take the utmost care while configuring the stack driver logging due to its complexity. https://organizetechnologies.com