{"repo":"GoogleCloudPlatform/cloud-logging-data-source-plugin","free":true,"listed":false,"github":"https://github.com/GoogleCloudPlatform/cloud-logging-data-source-plugin","clone":"git clone https://github.com/GoogleCloudPlatform/cloud-logging-data-source-plugin.git","description":null,"language":"TypeScript","stars":24,"topics":["google-cloud-logging","grafana"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"Google Cloud Logging Data Source Overview The Google Cloud Logging Data Source is a backend data source plugin for Grafana, which allows users to query and visualize their Google Cloud logs in Grafana. Setup Enable Cloud Resource Manager API You need to enable the resource manager API. Otherwise, your cloud projects will not be displayed in the dropdown menu. You can follow the steps to enable it: 1. Navigate to the cloud resource manager API page in GCP and select your project 2. Press the Enable button Generate a JWT file & Assign IAM Permissions 1. If you don't have a GCP project, add a new GCP project here 2. Open the Credentials page in the Google API Console 3. Click Create Credentials then click Service account 4. On the Create service account page, enter the Service account details 5. Fill in the Service account details and then click Create and Continue 6. On the Grant this service account access to project section, add the Logs Viewer role and Logs View Accessor role under Logging to the service account. Click Done 7. In the next step, click the service account you just created. Under the Keys tab and select Add key and Create new key 8. Choose key type JSON and click Create . A JSON key file will be created and downloaded to your computer If you want to access logs in multiple cloud projects, you need to ensure the service account has permission to read logs from all of them. If you host Grafana on a GCE VM, you can also use the Compute Engine service account. You ","default_branch":null,"files":null,"tree":[],"storefront":"/r/GoogleCloudPlatform","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GoogleCloudPlatform/cloud-logging-data-source-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}