Configuring Anonymous Syslog server for AlertConfig
Configuring anonymous syslog server for alertconfig is not supported.
Syslog over TLS is supported only with client certificate authentication.
In oder to configure syslog over TLS, please follow the below steps.
1) Create a PKI profile.
2) Get the client certificate for syslog authentication and upload on the Avi controller. eg (SyslogCert)
3) TLS configuration for syslog is only available from Avi cli.
4) Create the syslog server from the controller UI.
5) Follow the below steps on Avi controller CLI.
Login to CLI of the controller
Execute the below commands
[admin@<Controller-IP>: configure alertsyslogconfig <syslog_server_name>
[admin@<Controller-IP>: alertsyslogconfig> syslog_servers index 1
[admin@<Controller-IP>: alertsyslogconfig:syslog_servers> tls_enable
Overwriting the previously entered value for tls_enable
[admin@<Controller-IP>: alertsyslogconfig:syslog_servers> ssl_key_and_certificate_ref <ssl_certificate_name>
Overwriting the previously entered value for ssl_key_and_certificate_ref
[admin@<Controller-IP>: alertsyslogconfig:syslog_servers> pkiprofile_ref <pki_profile_name>
Overwriting the previously entered value for pkiprofile_ref
[admin@<Controller-IP>: alertsyslogconfig:syslog_servers> no strict_cert_verify
save
save
+-------------------------------+--------------------------------------------------------+
| Field | Value |
+-------------------------------+--------------------------------------------------------+
| uuid | alertsyslogconfig-######-####-####-########### |
| name | SyslogServer |
| syslog_servers[1] | |
| syslog_server | <ip_address> |
| syslog_server_port | <port> |
| udp | False |
| format | SYSLOG_LEGACY |
| tls_enable | True |
| ssl_key_and_certificate_ref | <ssl_certificate_name> |
| pkiprofile_ref | <pki_profile_name> |
| anon_auth | True |
| strict_cert_verify | False |
| tenant_ref | admin |
+-------------------------------+--------------------------------------------------------+