When it comes to Opensearch the Situation with Logstash and Opensearch is quite a mess.
Now when you install Opensearch, the Website or better the documentation tells you to use "DataPrepper" their new tool.
But as always, we first take what works and for now that is Logstash.
Also when looking at the Opensearch website you can however download Logstash for Linux, but!
with no repositories that you get updates, it makes no sense, at least for us.
Here is where we start this.
Get Logstash and install it from Elastic
https://www.elastic.co/guide/en/logstash/current/installing-logstash.html
follow that guide.
When you are done, go the the Logstash location on your System, here it is "/usr/share/logstash"
Then execute the installation of the opensearch output as follow and thats it!
cd /usr/share/logstash
bin/logstash-plugin install logstash-output-opensearch
Kommentar schreiben