services.logstash.inputConfig

NixOS option

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 in: nixos/modules/services/logging/logstash.nixView source on NixOS/nixpkgs →