你能帮我解决这个问题吗?我正在使用elasticsearch-7.4.2 kibana-7.4.2 logstash-7.4.2 windows 10
Error: com.mysql.cj.jdbc.Driver not loaded. Are you sure you've included the correct jdbc driver in :jdbc_driver_library?
Exception: LogStash::PluginLoadingError
Stack: D:/elasticsearch/logstash-7.4.2/vendor/bundle/jruby
我正在尝试使用logstash与MySQL建立连接,并在下面的conf文件代码中写入elastic search
input {
jdbc {
jdbc_connection_string => "jdbc:mysql://192.168.2.24:3306/test"
# The user we wish to execute our statement as
jdbc_user => "uname"
jdbc_password => "pass"
我的logstash.conf文件是
input {
jdbc {
jdbc_connection_string => "jdbc:mysql://localhost:8889/optjobs"
# The user we wish to execute our statement as
jdbc_user => "root"
jdbc_password => "root"
# The path to our downloaded jdbc driver
jdbc_drive
我正在尝试通过logstash将mysql表导入到elasticsearch中。其中一列的类型为"varbinary“,它会导致以下错误:
[2018-10-10T12:35:54,922][ERROR][logstash.outputs.elasticsearch] An unknown error occurred sending a bulk request to Elasticsearch. We will retry indefinitely {:error_message=>"\"\\xC3\" from ASCII-8BIT to UTF-8
我刚刚接触到弹性搜索的概念,以便与mySQL建立联系。我按照多个教程进行安装,但收到以下错误: elasticsearch的未知设置‘“index”’和‘host’ 的输出 sudo -Hu root /usr/share/logstash/bin/logstash --path.settings /etc/logstash/ 返回: > Sending Logstash logs to /usr/share/logstash/logs which is now configured via log4j2.properties
> [2019-04-20T17:48:47,29
我对jdbc_driver_library有个问题。我正在使用ELK_VERSION = 6.4.2,我使用Docker for ELK。
当我运行时:
/opt/logstash# bin/logstash -f /etc/logstash/conf.d/mysql.conf
我收到一个错误:
error: com.mysql.jdbc.Driver not loaded. Are you sure you've included the correct jdbc driver in :jdbc_driver_library?
驱动程序路径:
root@xxxxxxx:/etc/lo
我正在用Mysql开发弹性堆栈。一切都很正常,就像logstash从mysql数据库中提取数据并将其发送到elasticsearch,当新条目进入mysql数据,然后自动更新elasticsearch时,我使用了参数: Schedule,但在这种情况下,logstash会不断检查来自其终端的新数据,这是我主要关心的问题。
input {
jdbc {
jdbc_connection_string => "jdbc:mysql://localhost:3306/testdb"
# The user we wish to execute our sta
目前我正在用Mysql处理Elastic Stack,像mysql数据库中的数据一样正常工作的一切都可以使用Logstash在Elastic-search上使用,但是当新数据输入到mysql数据库中时,我需要重新启动Logstash,或者可以使用Logstash的配置文件中的调度来完成
input {
jdbc {
jdbc_connection_string => "jdbc:mysql://localhost:3306/testdb"
# The user we wish to execute our statement as
jdbc
如果我使用命令构建,我将得到如下所示的错误:
ERROR: Validation failed in file './docker-compose.yml', reason(s):
Service 'php' configuration key 'expose' '0' is invalid: should be of
the format 'PORT[/PROTOCOL]'
我使用最后一个版本的对接和对接-合成。
我的docker-compose.yml有下一个代码:
application:
build
我正在与elasticsearch合作,我还试图通过logstash将mysql与elasticsearch连接起来。我创建了配置文件,当我运行它时,我得到以下错误
Bundler::GemNotFound: Could not find logstash-input-jdbc-4.2.1 in any of the sources
materialize at C:/Users/esmer/E/ELK/logstash-5.5.1/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/spec_set.rb:92