diff --git a/30-outputs.conf b/30-outputs.conf index dc92b9de18aedd1b5f66067d04f15436fe994e97..9c6cbbc746a7b47199aefdd52a354069a0dda2f7 100644 --- a/30-outputs.conf +++ b/30-outputs.conf @@ -1,8 +1,9 @@ -output { -elasticsearch { - -hosts => localhost - -index => "logstash-%{+YYYY.MM.dd}" } -# stdout { codec => rubydebug } +output { + elasticsearch { + hosts => ["http://localhost:9200"] +#x-Pack user => "elastic" +#X-Pack password => "changeme" + index => "logstash-%{+YYYY.MM.dd}" } +# stdout { codec => rubydebug } } +