5 Routing log events
This chapter covers
- Copying log events to send to multiple outputs
- Routing log events using tags and labels
- Observing filters and handling errors in Fluentd
- Applying inclusions to enable reuse of configurations
- Injecting extra context information into log events
So far in this book, we have seen how to capture and store log events. But in all the examples, routing was simply all events going to the same output. However, this can be far from ideal. As described in chapter 1, we may want log events to go to different tools, depending on the type of log event. It may be desirable to send a log event to multiple locations or none. In this chapter, we will, therefore, examine the different ways we can route events. In addition, ...
Get Logging in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.