From 0860cc4a0afd36acb9e488340ed74d0c9649cdf8 Mon Sep 17 00:00:00 2001 From: a3ilson <a@3ilson.com> Date: Sat, 4 Nov 2017 19:05:12 -0400 Subject: [PATCH] Update 30-outputs.conf --- 30-outputs.conf | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/30-outputs.conf b/30-outputs.conf index dc92b9d..9c6cbbc 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 } } + -- GitLab