---
title: Okta System Logs connector reference
description: Reference information for the Okta System Logs connector, including its supported source table, connection options, and destination fields.
canonical_url: https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/okta-system-logs-reference
---

# Okta System Logs connector reference

> [!NOTE]
> **Beta**
>
> This feature is in [Beta](https://docs.databricks.com/aws/en/release-notes/release-types.md). To use it, a workspace admin must turn on **Lakeflow Connect for Okta System Logs** from the **Previews** page. See [Manage Databricks previews](https://docs.databricks.com/aws/en/admin/workspace-settings/manage-previews.md).

The managed Okta System Logs connector supports one source table. This reference lists the source table, connection options, and destination fields.

## <a id="supported-tables" />Supported source tables

The Okta System Logs connector supports the following source table in the `default` source schema:

| Source table  | Primary key | Description                                            | Sync mode   | Cursor field |
| ------------- | ----------- | ------------------------------------------------------ | ----------- | ------------ |
| `system_logs` | `lw_id`     | Audit and security events from your Okta organization. | Incremental | `time`       |

Use the following source name in a pipeline definition:

```yaml
objects:
  - table:
      source_schema: 'default'
      source_table: 'system_logs'
```

For a complete pipeline definition, see [Examples](https://docs.databricks.com/aws/en/ingestion/lakeflow-connect/okta-system-logs-pipeline.md#examples).

## <a id="connection-options" />Connection options

| Option       | Type   | Required | Description                                                                                                                    |
| ------------ | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------ |
| `domain`     | String | Yes      | The Okta organization domain. You can provide a domain name or a full URL; Databricks normalizes the value to the domain name. |
| `ssws_token` | String | Yes      | The secret SSWS API token used to authenticate requests to the Okta API.                                                       |

## <a id="destination-table-schema" />Destination table schema

The destination table includes Databricks-added fields and Okta System Log fields. For Okta field definitions and nested field details, see the [Okta System Log API reference](https://developer.okta.com/docs/api/openapi/okta-management/management/systemlog).

**Primary key:** `lw_id`
**Cursor field:** `time`

The connector copies the Okta `published` timestamp into `time` and generates `lw_id` from `uuid` and `published`.

| Field                   | Data type       |
| ----------------------- | --------------- |
| `lw_id`                 | `STRING`        |
| `time`                  | `TIMESTAMP`     |
| `uuid`                  | `STRING`        |
| `published`             | `TIMESTAMP`     |
| `eventType`             | `STRING`        |
| `version`               | `STRING`        |
| `severity`              | `STRING`        |
| `legacyEventType`       | `STRING`        |
| `displayMessage`        | `STRING`        |
| `actor`                 | `STRUCT`        |
| `authenticationContext` | `STRUCT`        |
| `client`                | `STRUCT`        |
| `debugContext`          | `STRUCT`        |
| `outcome`               | `STRUCT`        |
| `device`                | `STRUCT`        |
| `transaction`           | `STRUCT`        |
| `request`               | `STRUCT`        |
| `target`                | `ARRAY<STRUCT>` |
| `securityContext`       | `STRUCT`        |

## <a id="required-permissions" />Required Okta account permissions

The administrator account that creates the SSWS API token must be able to read the System Log. The token inherits the permissions of that account. A read-only administrator account provides read access to the System Log without broader administrative permissions.
