- okta.logStreams.manage
Replaces the log stream object properties for a given ID.
This operation is typically used to update the configuration of a log stream. Depending on the type of log stream you want to update, certain properties can't be modified after the log stream is initially created. Use the Retrieve the log stream schema for the schema type request to determine which properties you can update for the specific log stream type. Log stream properties with the "writeOnce" : true attribute can't be updated after creation. You must still specify these writeOnce properties in the request body with the original values in the PUT request.
Note: You don't have to specify properties that have both the
"writeOnce": trueand the"writeOnly": trueattributes in the PUT request body. These property values are ignored even if you add them in the PUT request body.
Unique name for the log stream object
Specifies the streaming provider used
Supported providers:
aws_eventbridge(AWS EventBridge)splunk_cloud_logstreaming(Splunk Cloud)
Select the provider type to see provider-specific configurations in the settings property:
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/logStreams/{logStreamId}
curl -i -X PUT \
https://subdomain.okta.com/api/v1/logStreams/0oa1orzg0CHSgPcjZ0g4 \
-H 'Content-Type: application/json' \
-d '{
"type": "aws_eventbridge",
"name": "Updated AWS EventBridge",
"settings": {
"eventSourceName": "your-event-source-name",
"accountId": "123456789012",
"region": "us-east-2"
}
}'OK
Timestamp when the log stream object was created
Timestamp when the log stream object was last updated
Unique name for the log stream object
Specifies the streaming provider used
Supported providers:
aws_eventbridge(AWS EventBridge)splunk_cloud_logstreaming(Splunk Cloud)
Select the provider type to see provider-specific configurations in the settings property:
Specifies link relations (see Web Linking) available for the current status of an application using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
{ "id": "0oa1orqUGCIoCGNxf0g4", "type": "aws_eventbridge", "name": "Updated AWS EventBridge", "lastUpdated": "2023-03-24T21:12:43.000Z", "created": "2023-03-24T21:02:43.000Z", "status": "ACTIVE", "settings": { "accountId": "123456789012", "eventSourceName": "your-event-source-name", "region": "us-east-2" }, "_links": { "self": { … }, "deactivate": { … } } }