services.logstash.filterConfig
logstash filter configuration.
- Type
strings concatenated with "\n"- Default
""- Example
'' if [type] == "syslog" { # Keep only relevant systemd fields # https://www.freedesktop.org/software/systemd/man/systemd.journal-fields.html prune { whitelist_names => [ "type", "@timestamp", "@version", "MESSAGE", "PRIORITY", "SYSLOG_FACILITY" ] } } ''- Declared
- <nixpkgs/nixos/modules/services/logging/logstash.nix>