我使用elasticsearch和logstash来可视化带有kibana的数据集。
我按照规范创建了一个配置文件,让elasticsearch和kibana启动并运行,然后加载配置文件。当我完成加载文件时,我将收到下面的消息。我知道文件没有加载,因为我会在提示符中看到数据集。我还在kibana仪表板中搜索索引,但它没有向我显示索引。
下面是我收到的提示消息:
Thread.exclusive is deprecated, use Thread::Mutex
Sending Logstash logs to D:/AMS/Softwares/logstash-7.4.2/logs which
构建一个弹性堆栈,在这里我必须连接到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-