opensearch-project / logstash-output-opensearch

A Logstash plugin that sends event data to a OpenSearch clusters and stores as an index.
https://opensearch.org/docs/latest/clients/logstash/index/
Apache License 2.0
104 stars 80 forks source link

Document building and debugging logstash-output-opensearch #250

Open dblock opened 4 months ago

dblock commented 4 months ago

Is your feature request related to a problem? Please describe.

Developers are asking how to build and debug logstash-output-opensearch.

Describe the solution you'd like

A new section in DEVELOPER_GUIDE called "Building and Debugging".

Additional context

I wrote up steps to building in https://github.com/opensearch-project/logstash-output-opensearch/issues/186#issuecomment-1941707311 against AWS. The developer guide should have instructions for both a local instance of OpenSearch and an Amazon managed service.

For debug logging I believe https://forum.opensearch.org/t/enable-debug-logging-on-logstash/12194 or if you run logstash from the command line, run with ./bin/logstash —debug.