logstash输入jdbc插件monetdb无法正常工作

时间:2019-05-17 05:27:36

标签: jdbc logstash monetdb logstash-jdbc

Monetdb根本不尝试连接。 MySQL和MSSQL,连接尝试正常进行。

input {
 jdbc {
   jdbc_driver_library => "/etc/logstash/monetdb-jdbc-2.28.jar"
   jdbc_driver_class => "nl.cwi.monetdb.jdbc.MonetDriver"
   jdbc_connection_string => "jdbc:monetdb://xxx.xxx.xxx.xxx:9999/testdb"
   jdbc_user => "userid"
   jdbc_password => "password"
   schedule => "* * * * *"
   statement => "select * from test"
 }
}

[logstash.inputs.jdbc]不再出现。 完全没有警告或错误发生。


[2019-05-17T10:18:33,487][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@jdbc_user = "userid"
[2019-05-17T10:18:33,487][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@schedule = "* * * * *"
[2019-05-17T10:18:33,488][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@jdbc_paging_enabled = true
[2019-05-17T10:18:33,488][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@jdbc_validate_connection = true
[2019-05-17T10:18:33,491][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@jdbc_password = 
[2019-05-17T10:18:33,491][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@statement = "select * from test"
[2019-05-17T10:18:33,491][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@jdbc_page_size = 100000
[2019-05-17T10:18:33,492][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@jdbc_pool_timeout = 3000
[2019-05-17T10:18:33,492][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@jdbc_driver_library = "/etc/logstash/monetdb-jdbc-2.28.jar"
[2019-05-17T10:18:33,492][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@jdbc_connection_string = "jdbc:monetdb://xxx.xxx.xxx.xxx:9999/testdb"
[2019-05-17T10:18:33,492][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@id = "27bee9a381382d216f80ee8fdff637a09043068305b993ffd9238c06a2c5df14"
[2019-05-17T10:18:33,492][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@jdbc_driver_class = "nl.cwi.monetdb.jdbc.MonetDriver"
[2019-05-17T10:18:33,492][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@enable_metric = true
[2019-05-17T10:18:33,502][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@codec = "plain_593efa4b-7d55-4463-8550-ebf2c14ef3e3", enable_metric=>true, charset=>"UTF-8">
[2019-05-17T10:18:33,504][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@add_field = {}
[2019-05-17T10:18:33,504][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@jdbc_validation_timeout = 3600
[2019-05-17T10:18:33,504][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@sequel_opts = {}
[2019-05-17T10:18:33,504][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@sql_log_level = "info"
[2019-05-17T10:18:33,504][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@connection_retry_attempts = 1
[2019-05-17T10:18:33,505][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@connection_retry_attempts_wait_time = 0.5
[2019-05-17T10:18:33,506][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@parameters = {}
[2019-05-17T10:18:33,506][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@last_run_metadata_path = "/usr/share/logstash/.logstash_jdbc_last_run"
[2019-05-17T10:18:33,506][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@use_column_value = false
[2019-05-17T10:18:33,506][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@tracking_column_type = "numeric"
[2019-05-17T10:18:33,506][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@clean_run = false
[2019-05-17T10:18:33,506][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@record_last_run = true
[2019-05-17T10:18:33,507][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@lowercase_column_names = true
[2019-05-17T10:18:33,507][DEBUG][logstash.inputs.jdbc] config LogStash::Inputs::Jdbc/@columns_charset = {}

0 个答案:

没有答案