Post Node Syslog Exporter
Adds a rule for exporting syslog information to a specified server. The required parameters are the rule name (exporter_name); severity level (emerg, alert, crit, and so on); transmission protocol (TCP or UDP); and server IP address or hostname. The optional parameters are the syslog port number, which can be 1 through 65,535 (514, by default); facility level to use when logging messages to syslog (kern, user, mail, and so on); and message IDs (msgids), which identify the types of messages to export.
{
"_self": {
"rel": "string"
},
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"facilities": [
"string"
],
"msgids": [
"string"
],
"protocol": "string",
"exporter_name": "string",
"level": "string",
"tls_ca_pem": "string",
"port": 0,
"server": "string"
}
Resource created successfully
{
"_self": {
"rel": "string"
},
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_schema": "string",
"facilities": [
"string"
],
"msgids": [
"string"
],
"protocol": "string",
"exporter_name": "string",
"level": "string",
"tls_ca_pem": "string",
"port": 0,
"server": "string"
}
Unexpected error
{
"module_name": "string",
"error_message": "string",
"error_code": 0
}
module_name
error_message
error_code