Installation logstash and logstash-input-jdbc on Windows systems

Description: This is related to the installation example in the Windows environment, the data needs to be suitable for introduction and Logstash Logstash-input-jdbc Elasticsearch from the database to a scene.

One, the pre-conditions

      JDK8 have installed on your computer or later, installed ElasticSearch, and started.

Second, the installation and verification Logstash

     1. Download

      Official website address: https://www.elastic.co/cn/downloads/past-releases/#logstash

     Decompression can be used directly 2. Download

     3. Start and verify

      Open cmd command line, enter the dos window, switch to the bin directory under logstash installation path, execute the following command:

logstash -e "input { stdin { } } output { stdout {} }"

     Information can be seen in Figure normal print start success:

 

 

 You can enter test content, such as "hello world" further validation.

  Third, the installation logstash-input-jdbc plug

[Logstash-input-jdbc comes under the new version logstash, it is unnecessary to install logstash-input-jdbc]

    CMD command-line switch to the bin directory, run the following command to install plug Logstash-input-jdbc:

logstash-plugin install logstash-input-jdbc

Installation normal, print success message:

 

 

Installation failed: error:

Validating logstash-input-jdbc   

Errno::EIO: Input/output error - C:\Users\??У??\.gem

 

 Error Solution:

 

 

 

 

 

 

      

 

Guess you like

Origin www.cnblogs.com/cocoxu1992/p/12298617.html