[英]How to intergate logstash with opensearch for logstash-output-opensearch
I am using logstash and AWS OpenSearch.我正在使用 logstash 和 AWS OpenSearch。 I already installed logstash (
sudo apt-get install logstash<\/code> ) in my logstash server.
我已经在我的 logstash 服务器中安装了 logstash (
sudo apt-get install logstash<\/code> )。
I have created both input and output file.
我已经创建了输入和输出文件。
Error
{ action=>LogStash::PipelineAction::Create/pipeline_id:main, exception=>"LogStash::PluginLoadingError", message=>"Couldn't find any output plugin named "opensearch"}
Use the Logstash OSS from https://opensearch.org/downloads.html .使用来自https://opensearch.org/downloads.html的 Logstash OSS。 Not from elastic.co
不是来自 elastic.co
curl https://artifacts.opensearch.org/logstash/logstash-oss-with-opensearch-output-plugin-7.16.2-linux-x64.tar.gz -o logstash-oss-with-opensearch-output-plugin-7.16.2-linux-x64.tar.gz curl https://artifacts.opensearch.org/logstash/logstash-oss-with-opensearch-output-plugin-7.16.2-linux-x64.tar.gz -o logstash-oss-with-opensearch-output-plugin- 7.16.2-linux-x64.tar.gz
tar -zxvf logstash-oss-with-opensearch-output-plugin-7.16.2-linux-x64.tar.gz tar -zxvf logstash-oss-with-opensearch-output-plugin-7.16.2-linux-x64.tar.gz
run logstash from ~/logstash-7.16.2/bin从 ~/logstash-7.16.2/bin 运行 logstash
Steps above worked.上述步骤有效。 Furthermore.
此外。 I executed
bin/logstash -f config/pipeline.conf
after creating a pipeline.conf with input and output parameters.在创建具有输入和输出参数的 pipeline.conf 后,我执行了
bin/logstash -f config/pipeline.conf
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.