Skip to main content
POST
cURL

Body

application/json
port
string
required

Remote syslog server port.

server
string
required

Remote syslog server.

CID
string

The opaque session ID token. Required for 7.2 controllers only.

action
string

The API action to perform. Required for 7.2 controllers only.

ca_certificate
string

CA certificate. This field must be base64 encoded.

exclude_gateway_list
string

Comma separated exclude gateway list.

index
integer

Forwarder index number.

name
string

Forwarder name.

private_key
string

Private key. This field must be base64 encoded.

protocol
enum<string>

UDP or TCP.

Available options:
TCP,
UDP
public_certificate
string

Public certificate. This field must be base64 encoded.

template
string

Template string for rsyslog as a file.

tls
boolean

Enable tls.

use_default_certs
boolean

Use spire certs.

Response

General v2 API response schema.

A generic API response container for v2 style APIs.

errortype
string

Error type if the API failed.

reason
string

Failure reason if the API failed.

results

API response data

return
boolean

Whether the API returned successfully