Hi,
I need to get data from a PostgreSQL DB and index it into Elasticsearch. When I run /opt/logstash-2.3.3/bin/logstash -f contacts-index-logstash.conf I receive the following error:
Could not find log4j2 configuration at path /elk/logstash/config/log4j2.properties. Using default config which logs to console
LoadError: no such file to load -- C:/elk/PostgreSQL/9.5/share/java/postgresql-9.4-1201.jre6
require at org/jruby/RubyKernel.java:1040
require at C:/elk/logstash/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65 load_drivers at C:/elk/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-jdbc-4.1.3/lib/logstash/plugin_mixins/jdbc.rb:134
each at org/jruby/RubyArray.java:1613
load_drivers at C:/elk/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-jdbc-4.1.3/lib/logstash/plugin_mixins/jdbc.rb:132
prepare_jdbc_connection at C:/elk/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-jdbc-4.1.3/lib/logstash/plugin_mixins/jdbc.rb:146
register at C:/elk/logstash/vendor/bundle/jruby/1.9/gems/logstash-input-jdbc-4.1.3/lib/logstash/inputs/jdbc.rb:191
start_inputs at C:/elk/logstash/logstash-core/lib/logstash/pipeline.rb:353
each at org/jruby/RubyArray.java:1613
start_inputs at C:/elk/logstash/logstash-core/lib/logstash/pipeline.rb:352
start_workers at C:/elk/logstash/logstash-core/lib/logstash/pipeline.rb:228
run at C:/elk/logstash/logstash-core/lib/logstash/pipeline.rb:183
start_pipeline at C:/elk/logstash/logstash-core/lib/logstash/agent.rb:292