@@ -77,7 +77,7 @@ in
7777
7878 inputConfig = mkOption {
7979 type = types.lines;
80− default = ''stdin { type => "example" }'';
80+ default = ''generator { }'';
8181 description = "Logstash input configuration.";
8282 example = ''
8383 # Read from journal
@@ -90,7 +90,7 @@ in
9090
9191 filterConfig = mkOption {
9292 type = types.lines;
93− default = ''noop {}'';
93+ default = "";
9494 description = "logstash filter configuration.";
9595 example = ''
9696 if [type] == "syslog" {
@@ -108,11 +108,11 @@ in
108108
109109 outputConfig = mkOption {
110110 type = types.lines;
111− default = ''stdout { debug => true debug_format => "json"}'';
111+ default = ''stdout { codec => rubydebug }'';
112112 description = "Logstash output configuration.";
113113 example = ''
114− redis { host => "localhost" data_type => "list" key => "logstash" codec => json }
115− elasticsearch { embedded => true }
114+ redis { host => ["localhost"] data_type => "list" key => "logstash" codec => json }
115+ elasticsearch { }
116116 '';
117117 };
118118