Adds, updates, deletes, and enables rsyslog notification consumers.
API URL
GET https://<host>/wsapis/v2.0.0/devicemgmt/notification/rsyslog/consumers
SET https://<host>/wsapis/v2.0.0/devicemgmt/notification/rsyslog/consumers -d <payload>
Payload
JSON containing variables listed in the API response.
Sample curl requests
GET - curl -skH "$Token" "https://10.128.43.157/wsapis/v2.0.0/devicemgmt/notification/rsyslog/consumers"
CREATE/UPDATE - curl -skH "$Token" "https://10.2.140.114/wsapis/v2.0.0/devicemgmt/notification/rsyslog/consumers?operation=create" -d '{"notification": "all-events", "protocol": "tcp", "address": "10.2.6.77", "enable": false, "name": "apirsys1"}'
DELETE single - curl -gsk -H "$c" https://10.128.59.86/wsapis/v2.0.0/devicemgmt/notification/rsyslog/consumer/aaaa?operation=delete -XPOST
DELETE multiple - curl -skH "$Token" "https://10.2.140.114/wsapis/v2.0.0/devicemgmt/notification/rsyslog/consumers?operation=delete" -d '["apirsys1"]'
DELETE all - curl -qgsSkH --no-progress-bar --header "$T" -H 'Accept: application/json' -H 'Content-Type: application/json' "https://10.18.59.86/wsapis/v2.0.0/devicemgmt/notification/rsyslog/recipients?operation=delete" -X POST
Availability
This command is available on the following appliances:
Network Security
Email Security — Server
File Protect
Malware Analysis
Authentication
Standard WSAPI authentication
Response mime type
application/json