You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-10Lines changed: 12 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,21 +15,23 @@ Download this plugin to the machine Grafana is running on, either using `git clo
15
15
16
16
You need to enable the resource manager API. Otherwise, your cloud projects will not be displayed in the dropdown menu.
17
17
18
-
You can following the those steps to enable it:
18
+
You can follow the steps to enable it:
19
19
20
20
1. Navigate to the [cloud resource manager API page](https://console.cloud.google.com/apis/library/cloudresourcemanager.googleapis.com]) in GCP and select your project
21
21
2. Press the `Enable` button
22
22
23
-
### Generate a JWT file
23
+
### Generate a JWT file & Assign IAM Permissions
24
24
25
-
1. If you don't have gcp project, add new gcp project. [link](https://cloud.google.com/resource-manager/docs/creating-managing-projects#console)
26
-
2. Open the [Credentials](https://console.developers.google.com/apis/credentials) page in the Google API Console.
27
-
3. Click **Create Credentials** then click **Service account**.
28
-
4. On the Create service account page, enter the Service account details.
29
-
5. On the `Create service account` page, fill in the `Service account details` and then click `Create and Continue`
30
-
6. On the `Grant this service account access to project` section, select the `Logs Viewer` role under `Logging` to the service account. Click `Done`
31
-
7. In the next step, click the service account you just created. Under the `Keys` tabl and select `Add key` and `Create new key`
32
-
8. Choose key type `JSON` and click `Create`. A JSON key file will be created and downloaded to your computer
25
+
1. If you don't have gcp project, add a new gcp project. [link](https://cloud.google.com/resource-manager/docs/creating-managing-projects#console)
26
+
2. Open the [Credentials](https://console.developers.google.com/apis/credentials) page in the Google API Console
27
+
3. Click **Create Credentials** then click **Service account**
28
+
4. On the Create service account page, enter the Service account details
29
+
5. On the `Create service account` page, fill in the `Service account details` and then click `Create and Continue`
30
+
6. On the `Grant this service account access to project` section, select the `Logs Viewer` role under `Logging` to the service account. Click `Done`
31
+
7. In the next step, click the service account you just created. Under the `Keys` tab and select `Add key` and `Create new key`
32
+
8. Choose key type `JSON` and click `Create`. A JSON key file will be created and downloaded to your computer
33
+
34
+
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.
0 commit comments