Update syslog profile
PUT/logging-service/logforwarding/v1/syslog-profiles/:profileId
Update a syslog profile using the etag obtained from retrieving the syslog profile by its profile ID. You can change only the destination and logtype fields. You can not change the profileType.
Request
Path Parameters
The ID of the profile you want to update.
Header Parameters
Tag required to update the profile.
- application/json
Body
required
New profile value
- 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
- 200
- 400
- 404
- 429
- 500
- 503
Request successfully processed
Invalid input
- application/json
- Schema
- Example (from schema)
Schema
Server error code
A message describing the error code
{
"errorCode": 0,
"errorMessage": "string"
}
Profile does not exists
- 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