3 Using Fluentd to capture log events
This chapter covers
- Configuring Fluentd for the input of log files,
- Examining the impact of stopping and starting during file reading by Fluentd,
- Extracting more meaning from log events by using parsers,
- Performing self-monitoring and external monitoring of Fluentd using APIs.
With the conceptual and architecture foundations, setup, and have now run a simple configuration, we're ready to start looking at the capture of log events in more detail. In this chapter, we’re going to focus on capturing log events. But before we start that, we should look at how we can check that our Fluentd configuration is correct.
Setting up to follow and try the configurations
A quick note about how we’re presenting code in the book. To avoid the book becoming bloated with code and Fluentd configuration files, we’ve only included the configuration and code parts relevant to the subject being discussed. But the files referenced in the downloads and GitHub repository are the complete configurations (https://github.com/mp3monster/LoggingInActionWithFluentd).
The repository includes both complete configurations, partial configuration files so you can implement configuration yourself. Along with this are scenarios and solutions to the scenarios that will allow you to try out your understanding of ideas in the book.