Create a stream

Limited availability Create a new stream to track logs for an Akamai Cloud Computing service. Before you can create a new stream, you need to create the destination where you wish to store log data. This operation can only be accessed by account users with unrestricted access. Talk to your local account administrator about access management.

🚧

By using this service, you acknowledge your obligations under the United States Department of Justice Bulk Sensitive Data Transaction Rule ("BSD Rule"). You also agree that you will not use the service to transfer, onward transfer, or otherwise make accessible any United States government-related data or bulk United States sensitive personal data to countries of concern or a covered person, as each of those terms and concepts are defined in the BSD Rule. Anyone using the service is solely responsible for compliance with the BSD Rule.

👍

There's a tutorial

We offer an example API workflow you can follow to set up a stream and its destination.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: monitor:read_write

CLI

linode-cli streams create \
--label Logs stream for Managed Databases \
--type audit_logs \
--destinations 12345 \

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
Body Params
destinations
array of integers
required
length ≥ 1

One or more unique identifiers for the sync points that will receive logs data. Run the List destinations operation and store the id values for each applicable destination. Separate multiple values with a comma.

destinations*
string
required

The name of the stream. This is used for display purposes in Akamai Cloud Manager.

string
enum
Defaults to active

The availability status of the stream.

Allowed:
string
enum
required

The type of stream. Set this to audit_logs for logs consisting of all of the control plane operations for the services in your Linodes.

Allowed:
Responses

Language
Credentials
Response
Choose an example:
application/json