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
107 stars 80 forks source link

[BUG] Enabling this plugin affect the elasticsearch output (Only Opensearch output works) #246

Open initvik opened 7 months ago

initvik commented 7 months ago

Describe the bug Enabling this plugin affects the elasticsearch output

To Reproduce Steps to reproduce the behavior:

  1. Setup logs indexing to elasticsearch with an elasticsearch output (check the logs are indexing )
  2. install the opensearch output plugin
  3. Go to 'logstash config set two outputs (elastic and opensearch)'
  4. restart the logstash 'opensearch will be working but Elastic will fail to index the data'

Expected behavior Failure in indexing logs to elasticsearch if the opensearch output plugin is enabled and the opensearch is configured as an output

Plugins opensearch output plugin

Screenshots NA

Host/Environment (please complete the following information): All latest version of OS / ES / logstash

Additional context NA

dblock commented 7 months ago

It sounds like a problem with the elasticsearch plugin that you may want to report there. However it may be something fixable on the side of the OpenSearch plugin, so let's keep it open. Do you have the errors from the elasticsearch plugin after restart?