7 Filtering and transforming events
This chapter covers
- Creating content and attribute-based filtering
- Modifying event content to enrich, structure, and route events
- Transforming content from logs to metrics
- Rewriting tags to help downstream matching
- Grepping events to identify events for filtering
- Limiting events to prevent backend overloading
- Coding filters using Lua
Chapter 6 looked at parsers and the filter that enables them. This chapter looks at the rest of the filters available to us. We will look carefully at filters that can manipulate the tag value, as this is central to how we route logs, metrics, and traces to different output destinations.
7.1 Architectural context
Figure 7.1 The application of filters we’re going to consider in this chapter is highlighted in our logical architecture.
