Create an email profile
POST/logging-service/logforwarding/v1/email-profiles
Create an email profile object to send logs to an email address.
Request
- */*
Body
required
- Array [
- ]
destination objectrequired
Profile name and email recipient information.
Additional addresses to receive the emails. Max of 10.
Name of the profile.
Subject to appear in the emails.
Email address of the recipient.
logtypes object[]required
The parameters used to specify the logs that you want to send.
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 requests
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