Create a syslog profile
POST/logging-service/logforwarding/v1/syslog-profiles
Create a syslog profile object to send logs to a syslog server.
Request
- */*
Body
required
- Array [
- ]
destination objectrequired
Profile name, output, and syslog receiver information.
Name of the profile.
Syslog facility value as per IETF standards.
An email address to receive updates about log transmission.
Character that separates log fields. Based on log format.
Possible values: [CSV
, LEEF
, CEF
]
The format in which to send logs.
Possible values: <= 65535
The port on which to send logs.
A token used to uniquely identify your logs to a cloud-based syslog service.
IP address or FQDN of your syslog server.
logtypes object[]required
True
sends all log fields. False
sends a subset of log fields.
The specific log fields you do not want to send. Does nothing if the same field is present in includedColumns
.
The filter query used to send a subset of logs.
The specific log fields you want to send. Does nothing if allColumns
is True
.
The log type that you want to send.
Responses
- 201
- 400
- 429
- 500
- 503
Returns profile id on successful request processing
- */*
- Schema
Schema
string
Invalid input / failed connectivity check
- application/json
- Schema
- Example (from schema)
Schema
Server error code
A message describing the error code
{
"errorCode": 0,
"errorMessage": "string"
}
Too many request
LogForwarding Service internal error
- application/json
- Schema
- Example (from schema)
Schema
Server error code
A message describing the error code
{
"errorCode": 0,
"errorMessage": "string"
}
LogForwarding Service is not available