Skip to content

Commit 2c7f537

Browse files
authored
Minor updates for README
1 parent 106688a commit 2c7f537

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,23 @@ Download this plugin to the machine Grafana is running on, either using `git clo
1515

1616
You need to enable the resource manager API. Otherwise, your cloud projects will not be displayed in the dropdown menu.
1717

18-
You can following the those steps to enable it:
18+
You can follow the steps to enable it:
1919

2020
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
2121
2. Press the `Enable` button
2222

23-
### Generate a JWT file
23+
### Generate a JWT file & Assign IAM Permissions
2424

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.
3335

3436
### Grafana Configuration
3537
![image info](./src/img/cloud_logging_config.png)

0 commit comments

Comments
 (0)