Create a new destination

This operation creates a new destination.

Body Params

Kafka log stream destination create schema.

string
enum

This sets the compression type to GZIP.

Allowed:
boolean
Defaults to true

Enables the destination. If disabled, logs don't stream to the destination.

hosts
array of strings
required
length between 1 and 4

A set of up to four hostnames.

hosts*
string
enum
Defaults to RAW

Defines the message format sent to the Kafka topic. Supports JSON and RAW formats. If not specified, RAW is the default.

Allowed:
string
required
length between 1 and 128

The unique name for this destination.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json