Beyond the fact that we may want to use a customized name for the alerts rsyslog entry
If you want to use the collector hostname (which may contains more than 32 caracters) rather than the ip address you got the following exception from the API endpoint
(as the add_system_alerts_rsyslog_collector value is concatenated with 'RSyslog Alert to ' to form the name
### HTTP Return code: 400', u'["Name: Field must be between 1 and 50 in length"]')"
Beyond the fact that we may want to use a customized name for the alerts rsyslog entry
If you want to use the collector hostname (which may contains more than 32 caracters) rather than the ip address you got the following exception from the API endpoint (as the add_system_alerts_rsyslog_collector value is concatenated with 'RSyslog Alert to ' to form the name
### HTTP Return code: 400', u'["Name: Field must be between 1 and 50 in length"]')"