|
Post by okashany on May 12, 2024 19:35:25 GMT
We would like to add the option of configuring multiple rsyslog servers (IP and port) to receive the BMC's event logs using RF API. Which schema is suitable for that purpose?
Thanks, Orit
|
|
|
Post by mraineri on May 12, 2024 21:45:48 GMT
EventDestination would be what you use; like when subscribing to any other events from the BMC, you would create an EventDestination resource by performing a POST to /redfish/v1/EventService/Subscriptions. There are properties in EventDestination that you would set in the POST request to specify syslog, primarily the usage of:
- "Destination" to express a syslog server receiving the notifications
- "SubscriptionType" to indicate syslog
- "Protocol" to specify why type of transport for syslog (TLS, TCP, UDP, or RELP)
- "SyslogFilters" to control what notifications are sent
{ "Destination": "syslog://192.168.1.50:514", "Context": "Syslog Example", "Protocol": "SyslogTCP", "SubscriptionType": "Syslog", "SyslogFilters": [ { "LogFacilities": [ "Kern", "User" ], "LowestSeverity": "Warning" } ] }
|
|