Can Filebeat.config.modules specify include_lines?

all the materials seen so far are filebeat.inputs: . Only under the include_lines attribute can be used for Filter log content. Such as

filebeat.inputs:
- type: log
  ...
  include_lines: ["^ERR", "^WARN"]

but now I don"t open filebeat.inputs: . I only configure Nginx module in Filebeat.config.modules . Now I want to log Filter through regular expressions. Is there any place to configure include_lines or implement similar Filter functions in modular log collection?

if there is no Filter function under Filebeat.config.modules , what is the significance of such a module monitoring

Jun.01,2021
Menu