From c3269b2dc93c845d65e78a79010c69deaa521adc Mon Sep 17 00:00:00 2001 From: feger <marc.feger@hhu.de> Date: Thu, 5 Sep 2019 21:37:15 +0200 Subject: [PATCH] Update indent :art: --- logstash/pipeline/logstash.conf | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/logstash/pipeline/logstash.conf b/logstash/pipeline/logstash.conf index 45aeabd..312bcc1 100644 --- a/logstash/pipeline/logstash.conf +++ b/logstash/pipeline/logstash.conf @@ -1,15 +1,14 @@ input { - jdbc { - jdbc_driver_library => "/opt/postgresql-42.2.5.jar" - jdbc_driver_class => "org.postgresql.Driver" - jdbc_connection_string => "jdbc:postgresql://db:5432/discussion" - jdbc_user => "postgres" - jdbc_password => "DXxCNtfnt!MOo!f8LY1!Psw3KGzt@s!" - statement => "SELECT * FROM textversions INNER JOIN statement_to_issue ON textversions.statement_uid=statement_to_issue.statement_uid;" - schedule => "* * * * *" - } + jdbc { + jdbc_driver_library => "/opt/postgresql-42.2.5.jar" + jdbc_driver_class => "org.postgresql.Driver" + jdbc_connection_string => "jdbc:postgresql://db:5432/discussion" + jdbc_user => "postgres" + jdbc_password => "DXxCNtfnt!MOo!f8LY1!Psw3KGzt@s!" + statement => "SELECT * FROM textversions INNER JOIN statement_to_issue ON textversions.statement_uid=statement_to_issue.statement_uid;" + schedule => "* * * * *" + } } - output { stdout { codec => rubydebug @@ -17,9 +16,9 @@ output { elasticsearch { index => "textversions" document_type => "record" - hosts => "http://elasticsearch:9200" - document_id => "%{uid}" - doc_as_upsert => true - action => "update" + hosts => "http://elasticsearch:9200" + document_id => "%{uid}" + doc_as_upsert => true + action => "update" } -} \ No newline at end of file +} -- GitLab