In this lab, you will be provided two servers that have fluentd pre installed. Your task is to send logs from `/var/log/messages` to the target fluentd server. You must also do what is required to use TLS to send the log entries. You will need to generate certificates using OpenSSL and perform all the configuration tasks required to get this up and running.
Successfully complete this lab by achieving the following learning objectives:
- Configure source1 to Use TLS to Send Logs to the target Server
On the server
source1, you need to configure the installed Fluentd so that messages from
/var/log/messagesare sent to the server called
target. You must also configure it so that it uses TLS to send the log entries.
- Configure target to Receive Logs from source1 Using TLS
You need to do what is required, including generating a certificate using SSL and adding any configuration entries to that the server called
target, so it can receive log entries via TLS from the server called
- Check If Test Logs Are Received
Test that the changes have worked and any new entries to the
source1are now being sent to the td-agent stdout on
loggercommand can be used to send message to