Here, we have a preinstalled Fluentd installation that you can use to practice your skills or to learn more about Fluentd. This lab provides a hands-on opportunity to experience and test Fluentd. In this lab, you will be able to work with Fluentd and its log file locations and also send data to Fluentd for review.
Successfully complete this lab by achieving the following learning objectives:
- Log In to the Provided Server
Log in to the server as
cloud_userwith the provided password to ensure you can log in. The server has Fluentd preinstalled. When the file
SERVER-READYis shown in the
/home/cloud_user folder, then you can follow along with the tasks.
- Use the Default Configuration to Receive Logs
In the how-to video for this lab, an example will be shown for receiving logs at the HTTP endpoint. This example will route the output to stdout. The log will be found at
/var/log/td-agent/td-agent.logon the filesystem.
- Modify `rsyslog` to Send Logs to Fluentd
The how-to video will also show an example of configuring
rsyslogto send logs to Fluentd. Then the default config file for Fluentd will be changed to accept the log and output it to stdout.