services.journalwatch.filterBlocks.*.match
Syntax: field = value
Specifies the log entry field this block should apply to.
If the field of a message matches this value,
this patternBlock's filters are applied.
If value starts and ends with a slash, it is interpreted as
an extended python regular expression, if not, it's an exact match.
The journal fields are explained in systemd.journal-fields(7).
- Type
string- Example
"SYSLOG_IDENTIFIER = systemd"- Declared
- <nixpkgs/nixos/modules/services/logging/journalwatch.nix>