services.crowdsec.settings.patterns

NixOS option

list of package

A list of files containing custom grok patterns. See https://docs.crowdsec.net/docs/next/log_processor/parsers/yaml/#patterns-documentation for more details.

type: list of package
Default
[ ]
Example
[ (pkgs.writeTextDir "custom_service_logs" (builtins.readFile ./custom_service_logs)) ]
declared in: nixos/modules/services/security/crowdsecView source on NixOS/nixpkgs →