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: tutorials/export-audit-trail-to-datadog/index.mdx
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ This tutorial shows you how to export your Audit Trail events to [DataDog](https
21
21
- A Scaleway account logged into the [console](https://console.scaleway.com)
22
22
-[Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
23
23
- Created an [SSH key](/organizations-and-projects/how-to/create-ssh-key/)
24
-
- Created an[Instance](/instances/how-to/create-an-instance/)
24
+
- Created a Scaleway[Instance](/instances/how-to/create-an-instance/)
25
25
- Installed the [OpenTelemetry collector builder](https://opentelemetry.io/docs/collector/custom-collector/#step-1---install-the-builder)
26
26
- Created a [Datadog account](https://app.datadoghq.com/account/login) and a [Datadog API key](https://docs.datadoghq.com/account_management/api-app-keys/#api-keys)
27
27
@@ -105,7 +105,7 @@ Create a file named `/etc/opentelemetry-collector/config.yaml` and paste the fol
105
105
datadog:
106
106
idle_conn_timeout: 10s
107
107
api:
108
-
key: <DD_API_KEY>
108
+
key: <DD_API_SECRET_KEY>
109
109
site: <DD_SITE>
110
110
111
111
service:
@@ -118,12 +118,12 @@ Create a file named `/etc/opentelemetry-collector/config.yaml` and paste the fol
118
118
119
119
Make sure that you replace:
120
120
121
-
-`SCW_ACCESS_KEY` with your Scaleway API access key
122
-
-`SCW_SECRET_KEY` with your Scaleway API secret key
123
-
-`SCW_DEFAULT_ORGANIZATION_ID` with your Scaleway Organization ID
124
-
-`SCW_DEFAULT_REGION` with the Scaleway region to target
125
-
-`DD_API_KEY` with your DataDog API key
126
-
-`DD_SITE` with the [DataDog site](https://docs.datadoghq.com/getting_started/site/#access-the-datadog-site) you are on
121
+
-`<SCW_ACCESS_KEY>` with your Scaleway API access key
122
+
-`<SCW_SECRET_KEY>` with your Scaleway API secret key
123
+
-`<SCW_DEFAULT_ORGANIZATION_ID>` with your Scaleway Organization ID
124
+
-`<SCW_DEFAULT_REGION>` with the Scaleway region to target
125
+
-`<DD_API_KEY>` with your DataDog API secret key
126
+
-`<DD_SITE>` with the [DataDog site](https://docs.datadoghq.com/getting_started/site/#access-the-datadog-site) you are on
127
127
128
128
## Running the Collector
129
129
@@ -148,7 +148,7 @@ Make sure that you replace:
148
148
systemctl daemon-reload
149
149
```
150
150
151
-
3. Run the following command to enable and start the service:
151
+
3. Run the following commands to enable and start the service:
152
152
153
153
```
154
154
systemctl enable opentelemetry-collector.service
@@ -167,7 +167,7 @@ Make sure that you replace:
167
167
journalctl -fu opentelemetry-collector.service
168
168
```
169
169
170
-
AN output similar to the following should display to confirm that the Collector is pulling Audit Trail events:
170
+
An output similar to the following should display to confirm that the Collector is pulling Audit Trail events:
171
171
172
172
```
173
173
Feb 07 15:34:30 scw-beautiful-zhukovsky otelcol-audit-trail[1723]: 2025-02-07T15:34:30.687Z info [email protected]/receiver.go:80 Polling Audit Trail logs {"kind": "receiver", "name": "scwaudittrail", "data_type": "logs"}
0 commit comments