Logstash 本地插件安装

问题描述 投票:0回答:1

我需要为 clickhouse 安装插件,但我的服务器上没有互联网连接,Logstash 正在尝试从存储库中查找插件

我将插件上传到服务器并尝试安装它。但我无法将其安装为本地插件。 Logstash 总是试图从存储库中找到它。我该如何解决它?

 ./logstash-plugin install /path/to/plugin//logstash-output-clickhouse-0.1.0.gem
Using bundled JDK: /usr/share/logstash/jdk
ERROR: Something went wrong when installing /path/to/plugin/logstash-output-clickhouse-0.1.0.gem, message: Failed to open TCP connection to artifacts.elastic.co:443 (execution expired)
logstash
1个回答
0
投票

我希望这里的答案https://discuss.elastic.co/t/airgapped-install-of-plugin-fails-trying-to-access-artifacts-elastic-co/356781/5可以有所帮助。 安装插件时尝试使用 env LOGSTASH_PACK_URL=http://localhost:1234

© www.soinside.com 2019 - 2024. All rights reserved.