MyNixOS website logo
option

services.logstash.inputConfig

Logstash input configuration.

Declarations
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 {}
  }
''