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.
errorMessagestringA collection of error messages for individual properties in the schema. Okta implements a subset of ajv-errors. (opaque JSON object)
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
propertiesstringlog stream schema properties object (opaque JSON 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
get_log_stream_schemaselectlogStreamType, subdomainRetrieves 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.
list_log_stream_schemasselectsubdomainLists the schema for all log stream types visible for this org

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
logStreamTypestring
subdomainstring(default: my-org)

SELECT examples​

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

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