Skip to main content

Set target

POSThttps://api.coralogix.com/mgmt/openapi/5/logs/data-setup/v2

Sets the log archive target configuration.

Authorizations

Authorizationstringheaderrequired
API key authentication

Request

Body

application/json
    format#TargetFormat

    Target format.

    Possible values: [TARGET_FORMAT_UNSPECIFIED, TARGET_FORMAT_CX_DATA_V1]

    isActive#booleanrequired

    Whether archiving to this target is active.

    Example: true

Response

application/json

This data structure is obtained after setting a storage target for logs.

    target#objectrequiredoneOf
    object