我需要从PostgreSQL DB中获取数据并将其索引到Elasticsearch中。
当我运行/opt/logstash-2.3.3/bin/logstash -v -f es_table.logstash.conf时
我收到以下错误:
Pipeline aborted due to error
{:exception=>#<LogStash::ConfigurationError: org.postgres.Driver not loaded.
Are you sure you've included the correct jdbc driver in :jdbc
构建一个弹性堆栈,在这里我必须连接到Server数据库。因此,我构建了自己的Logstash映像,将JDBC驱动程序导入容器。
FROM docker.elastic.co/logstash/logstash:6.3.0
USER root
COPY mssql-jdbc-6.4.0.jre9.jar /opt/
# Add your logstash plugins setup here
RUN logstash-plugin install logstash-input-jdbc
# Example: RUN logstash-plugin install logstash-filter-
你能帮我解决这个问题吗?我正在使用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
在Netbeans 7.1.2和Ant 1.8.2中,我很难将YUI压缩器用作Ant任务。
当运行"minify“ant目标时,我得到以下错误:
taskdef class net.noha.tools.ant.yuicompressor.tasks.YuiCompressorTask cannot be found using the classloader AntClassLoader[]
缩小的蚂蚁目标看起来像:
<target name="minify">
<!--${libs} is path to the downloaded jar
我刚开始学麋鹿。我在Windows中安装了ELK堆栈。弹性搜索和基巴纳非常有效。但是,当我启动logstash时,它会显示以下错误。
当我开始收藏日志时:
C:\Program Files\logstash-6.7.0\logstash-6.7.0\bin>logstash.bat
Picked up _JAVA_OPTIONS: -Xmx1024M
Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be re
我试图在我的系统中安装Logstash,当我试图运行logstash.bat时,我得到了以下错误:
Error: Could not find or load main class 7.1.0\logstash-7.2.0\logstash-7.2.0\log stash-core\lib\jars\animal-sniffer-annotations-1.14.jar;D:\ELK
原因是什么?
我还在logstash.bat文件中添加了以下代码。
set JAVA_HOME=path\to\custom_jdk_folder\jdk_8u161set
CLASSPATH=%JAVA_HO
这是一种让我发疯的感觉,我在这里发现了一些类似的问题,但我无法让它发挥作用。
我有一个多项目弹簧(web)项目。它很好地启动,但是只要我想查询db,我就会得到一个
Nested in org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException:
Cannot create JDBC driver of class 'oracle.jdbc.O
我正在从jar文件运行Spark应用程序。当我在log4j自定义文件中定义并简单地从主类运行我的应用程序时,日志输出工作正常,但是,当我从jar文件运行应用程序时,我得到这样一个错误:
log4j:ERROR Could not create the Layout. Reported error follows.
java.lang.ClassNotFoundException: net.logstash.log4j.JSONEventLayoutV1
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
a
有时,在eclipse中导入maven项目时,我会遇到以下错误:
Classpath entry org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER will not be exported or published. Runtime ClassNotFoundExceptions may result.
尽管svn存储库上的类路径文件包含maven依赖项:
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER