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
* modernize okta receiver
* ignore sdk janitor goroutine
* improve and test polling logic
* Update logs.go
* make tidy
* fix lint
* add how it works section
@@ -8,33 +8,26 @@ This receiver is capable of collecting logs from an Okta domain.
8
8
- Logs
9
9
10
10
## How It Works
11
-
1. The user configures this receiver in a pipeline.
12
-
2. The user configures a supported component to route telemetry from this receiver.
11
+
1. The receiver polls the Okta [System Log API](https://developer.okta.com/docs/reference/api/system-log/) once per `poll_interval` for events published since the previous poll.
12
+
2. The receiver follows pagination links to retrieve all events within the poll window.
13
+
3. The receiver converts each event to an OpenTelemetry log and sends it to the collector.
14
+
- Key event fields (such as UUID, event type, outcome, and actor details) are promoted to log attributes, and the Okta domain is set as a resource attribute.
13
15
14
16
## Prerequisites
15
17
- An Okta API Token will be needed to authorize the receiver with your Okta Domain.
16
18
17
19
## Configuration
18
-
| Field | Type | Default | Required | Description |
| okta_domain | string ||`true`| The Okta domain the receiver should collect logs from (Do not include "https://"): [Find your Okta Domain](https://developer.okta.com/docs/guides/find-your-domain/main/)|
21
-
| api_token | string ||`true`| An Okta API Token generated from the above Okta domain: [How to Create an Okta API Token](https://support.okta.com/help/s/article/How-to-create-an-API-token?language=en_US)|
22
-
| poll_interval | string | 1m |`false`| The rate at which this receiver will poll Okta for logs. This value must be in the range [1 second - 24 hours] and must be a string readable by Golang's [time.ParseDuration](https://pkg.go.dev/time#ParseDuration). |
20
+
| Field | Type | Default | Required | Description |
| okta_domain | string ||`true`| The Okta domain the receiver should collect logs from (Do not include "https://"): [Find your Okta Domain](https://developer.okta.com/docs/guides/find-your-domain/main/)|
23
+
| api_token | string ||`true`| An Okta API Token generated from the above Okta domain: [How to Create an Okta API Token](https://support.okta.com/help/s/article/How-to-create-an-API-token?language=en_US)|
24
+
| poll_interval | string | 1m |`false`| The rate at which this receiver will poll Okta for logs. This value must be in the range [1 second - 24 hours] and must be a string readable by Golang's [time.ParseDuration](https://pkg.go.dev/time#ParseDuration). |
0 commit comments