After configuring syslog-ng PE, test if everything works as expected.
On the client side, enter the following command:
logger "This is a test message"
On the server side, tail the file, where logs from the network are arriving. You should see something similar in case of the above test message:
tail -f /var/log/messages | grep test
Jun 26 19:12:06 172.16.177.129 root: This is a test message
If you cannot see it, check the log file, where the internal messages of syslog-ng are stored, both on the server and the client side. The most common causes of the problem are the following:
There is no trace of connection at all (internal logs show connection attempts), there is a network / firewall problem, or incorrectly configured destination or listening IP.
With new certificates an incorrectly configured clock can already cause problems. Check if all of your systems have the same time / time zone.
Make sure, that the Common Name is set to the correct FQDN or IP address. If you use FQDN, make sure, that your DNS server works correctly.
Do not include an e-mail address in the client and server certificates.
For more information about TLS-related error messages, see "Error messages" in the Administration Guide.
This tutorial has shown you how to encrypt and authenticate the connection between your clients and your logserver.
If you have run into problems, or need help, leave a comment, or post your problem on the syslog-ng mailing list.
If you would like to know more about syslog-ng PE, visit the syslog-ng project page.
One Identity solutions eliminate the complexities and time-consuming processes often required to govern identities, manage privileged accounts and control access. Our solutions enhance business agility while addressing your IAM challenges with on-premises, cloud and hybrid environments.
For sales or other inquiries, visit https://www.oneidentity.com/company/contact-us.aspx or call +1-800-306-9329.
Technical support is available to One Identity customers with a valid maintenance contract and customers who have trial versions. You can access the Support Portal at https://support.oneidentity.com/.
The Support Portal provides self-help tools you can use to solve problems quickly and independently, 24 hours a day, 365 days a year. The Support Portal enables you to: