Skip to main content

log_stream_schemas

Creates, updates, deletes, gets or lists a log_stream_schemas resource.

Overview

Namelog_stream_schemas
TypeResource
Idokta.meta.log_stream_schemas

Fields

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
idstringURI of log stream schema
$schemastringJSON schema version identifier
_linksobjectSpecifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
errorMessageobjectA collection of error messages for individual properties in the schema. Okta implements a subset of ajv-errors.
oneOfarrayNon-empty array of valid JSON schemas. Okta only supports oneOf for specifying display names for an enum. Each schema has the following format: { "const": "enumValue", "title": "display name" }
patternstringFor string log stream schema property type, specifies the regular expression used to validate the property
propertiesobjectlog stream schema properties object
requiredarrayRequired properties for this log stream schema object
titlestringName of the log streaming integration
typestringType of log stream schema property

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_log_stream_schemasselectsubdomainLists the schema for all log stream types visible for this org
get_log_stream_schemaselectsubdomainRetrieves the schema for a log stream type. The logStreamType element in the URL specifies the log stream type, which is either aws_eventbridge or splunk_cloud_logstreaming. Use the aws_eventbridge literal to retrieve the AWS EventBridge type schema, and use the splunk_cloud_logstreaming literal retrieve the Splunk Cloud type schema.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
subdomainstringThe domain of your organization. This can be a provided subdomain of an official okta domain (okta.com, oktapreview.com, etc) or one of your configured custom domains. (default: my-org)

SELECT examples

Lists the schema for all log stream types visible for this org

SELECT
id,
$schema,
_links,
errorMessage,
oneOf,
pattern,
properties,
required,
title,
type
FROM okta.meta.log_stream_schemas
WHERE subdomain = '{{ subdomain }}' -- required
;