POST /v1/logsDataForwarding/rules

Create a data forwarding rule to send data from a Partition or Scheduled View to an S3 bucket.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
format String No

Format of the payload. Default format will be "csv". "text" format should be used in conjunction with "raw" payloadSchema and vice-versa.

fileFormat String No

Specify the path prefix to a directory in the S3 bucket and how to format the file name.

indexId String Yes

The id of the Partition or Scheduled View the rule applies to.

enabled Boolean No

True when the data forwarding rule is enabled.

destinationId String Yes

The data forwarding destination id.

payloadSchema String No

Schema for the payload. Default value of the payload schema is "allFields" for scheduled view, and "builtInFields" for partition. "raw" payloadSchema should be used in conjunction with "text" format and vice-versa.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.