Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon

Use Fluentd via the Command Line

In this lab, you will be provided with a server that has Fluentd preinstalled for you. The purpose of this lab is to have you create a separate Fluentd configuration file that will send `syslog` output to the Fluentd stdout. This configuration file will be used via the command line. Once created, you will test that it is directing log entries to Fluentd.

Google Cloud Platform icon

Path Info

Clock icon Intermediate
Clock icon 45m
Clock icon Aug 19, 2022

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Create a Configuration File in the Home Folder

    Create a new configuration file called /home/cloud_user/fluentd-syslog.conf. The configuration file should have code that accepts input from the rsyslog system on port 5160.

  2. Challenge

    Configure the rsyslog Config File to Send Output to Fluentd

    Edit the rsyslog configuration file to send a copy of its log output to the Fluentd port used in the new configuration file and restart rsyslog. The port for the configuration should be5160.

  3. Challenge

    Launch and Validate Fluentd from the Command Line

    Start Fluentd using the new configuration file you created by using the option to read in a configuration file via the command line.

    Use another terminal and log into the provided lab server again. You should see this login being shown on the output from your still-running Fluentd instance when you go back to the original terminal.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans