services.logstash.inputConfig

Logstash input configuration.

Type
strings concatenated with "\n"
Default
"generator { }"
Example
''
  # Read from journal
  pipe {
    command => "${config.systemd.package}/bin/journalctl -f -o json"
    type => "syslog" codec => json {}
  }
''
Declared
<nixpkgs/nixos/modules/services/logging/logstash.nix>