opensearch-project / logstash-input-opensearch

Apache License 2.0
9 stars 15 forks source link

Instalation instructions [FEATURE] #31

Open nnovaes opened 2 years ago

nnovaes commented 2 years ago

What are the installation instructions?

Trying to install this plugin via logstash-plugin install returns Plugin logstash-input-opensearch does not exist

I couldn't find a ruby gem for it as well at https://rubygems.org/gems

naveentatikonda commented 2 years ago

@nnovaes Thank you for reaching out to us. This plugin is not yet released and published in https://rubygems.org/

So, meanwhile if you want to use it on your local. You can clone this repository and install it onto logstash by following the instructions provided in this step https://github.com/opensearch-project/logstash-input-opensearch/blob/main/DEVELOPER_GUIDE.md#21-run-in-a-local-logstash-clone

You can also try to install it on your local by following these steps:

  1. Clone the repository
  2. gem build logstash-input-opensearch.gemspec which will generate logstash-input-opensearch-1.0.0.gem file.
  3. Now install that gem file on you logstash by using this command bin/logstash-plugin install ~/{your-local-path}/logstash-input-opensearch/logstash-input-opensearch-1.0.0.gem
  4. You can verify if it is installed by listing all the installed plugins bin/logstash-plugin list bin/logstash-plugin list --group input to list only the input plugins