Skip to main content

Create a log configuration

Creates a log configuration or replaces a previous one (this operation destroys any previous value)

Request Body
is_default boolean

Define is the log configuration is the default, if true requires permission agent:log_config:create-default if not agent:log_config:create

expires_at string

If log configuration is not default, expiration should be defined

account_id integer

Can be specified if log spec is at account level

selector object

The tags to be matched to apply the log configuration

configuration object

The log configuration as defined in the log spec

Responses
200

The operation was successful

Schema OPTIONAL
is_default boolean OPTIONAL

Define is the log configuration is the default, if true requires permission agent:log_config:create-default if not agent:log_config:create

expires_at string OPTIONAL

If log configuration is not default, expiration should be defined

account_id integer OPTIONAL

Can be specified if log spec is at account level

selector object OPTIONAL

The tags to be matched to apply the log configuration

configuration object OPTIONAL

The log configuration as defined in the log spec

created_configuration_defaults object[] OPTIONAL
template_id string OPTIONAL
template_name string OPTIONAL
capability_category string OPTIONAL
capability_provider string OPTIONAL
default_configuration_id string OPTIONAL