logstash自定义插件install时报错
报: is built in to Ruby, and can't be cached because your Gemfile doesn't have any sources that contain it.
Plugin not found, aborting
ERROR: Installation Aborted, message: Missing gem file '---.gem'.

logstash自定义插件install时报错
报: is built in to Ruby, and can't be cached because your Gemfile doesn't have any sources that contain it.
Plugin not found, aborting
ERROR: Installation Aborted, message: Missing gem file '---.gem'.

关注下面是我想到的解决方案,你可以试一下, 如果还不可以及时告诉我, 创作不易, 记得给个采纳哦!!!!
这个错误提示中提到 Gemfile 缺少包含对应 gem 包的源地址,通常是由于我们在安装插件时没有指定源导致的。
我们可以通过在 logstash-plugin 安装命令中指定源地址来解决这个问题。具体步骤如下:
bin/logstash-plugin install --no-verify --source source_address logstash-output-plugin_name
其中 logstash-output-plugin_name 为需要安装的插件名称,例如 logstash-output-elasticsearch。
需要注意的是,我们需要将 source_address 替换为一个存在且可用的源地址(注意加上引号);如果不知道可用的源地址,可以在 Gemfile 中添加一行:
source "https://rubygems.org"
以使用默认的 RubyGems 源作为源地址。
最后,还有一个可能会遇到的错误是,提示缺少对应的 gem 包文件。这种情况下,我们需要先下载对应的 gem 包文件并放到合适的位置,再执行安装命令。