services.logstash.inputConfig
NixOS option
Logstash input configuration.
type: strings concatenated with "\n"Default
"generator { }"Example
declared in: nixos/modules/services/logging/logstash.nixView source on NixOS/nixpkgs →''
# Read from journal
pipe {
command => "${config.systemd.package}/bin/journalctl -f -o json"
type => "syslog" codec => json {}
}
''