我正在尝试同时复制我的Logstash配置并安装一个插件。到目前为止,我已经尝试了多种方法,但都没有成功,每次Logstash都会出现错误。
以下方法失败:
logstash:
image: logstash:latest
command: logstash -f /etc/logstash/conf.d/logstash.conf
command: bash -c bin/logstash-plugin install logstash-filter-translate
这个失败了:
command: logstash -f /etc/logstash/conf.d/logstash.conf bash -c bin/logstash-plugin install logstash-filter-translate
这个失败了:
command: logstash -f /etc/logstash/conf.d/logstash.conf && bash -c bin/logstash-plugin install logstash-filter-translate
这也失败了
command: bash -c logstash -f /etc/logstash/conf.d/logstash.conf && bin/logstash-plugin install logstash-filter-translate
我在这里运气不佳,我打赌答案很简单...有人能指点我正确的方向吗?
谢谢