Skip to content

Latest commit

 

History

History

logline-filtering

Filtering log messages based on content

Filelog receiver provides support for filtering logs based on their content. This can be achieved by using the filter operator, configured with matching regular expressions.

With this happening at the collection point, a lot of resources at the destination backend can be saved since no additional processing would need to take place.

A full configuration example on how to filter out logs that start with the INFO: pattern is provided in the example config. A full configuration example on how to only collect logs that start with the WARN: pattern is provided in the example config