Failed Initialization of Opensearch sink with data prepper

I have latest version image of data prepper on docker. upon running docker-compose file, the container is up and is in running form but when i check it’s logs it comes up with following error.

iqrashahid@iqra-jamal-dell-e7450:~/Documents/WORK/Data_Prepper$ docker logs e2
Reading pipelines and data-prepper configuration files from Data Prepper home directory.
/usr/bin/java
Found openjdk version of 17.0
2023-12-06T10:15:55,553 [main] INFO org.opensearch.dataprepper.DataPrepperArgumentConfiguration - Command line args: /usr/share/data-prepper/pipelines,/usr/share/data-prepper/config/data-prepper-config.yaml
2023-12-06T10:15:56,196 [main] INFO org.opensearch.dataprepper.parser.PipelinesDataflowModelParser - Reading pipeline configuration from pipelines.yaml
2023-12-06T10:15:57,405 [main] INFO org.opensearch.dataprepper.plugins.kafka.extension.KafkaClusterConfigExtension - Applying Kafka Cluster Config Extension.
2023-12-06T10:15:57,951 [main] INFO org.opensearch.dataprepper.parser.PipelineTransformer - Building pipeline [log-pipeline] from provided configuration
2023-12-06T10:15:57,953 [main] INFO org.opensearch.dataprepper.parser.PipelineTransformer - Building [http] as source component for the pipeline [log-pipeline]
2023-12-06T10:15:58,190 [main] WARN org.opensearch.dataprepper.plugins.source.loghttp.HTTPSource - Creating http source without authentication. This is not secure.
2023-12-06T10:15:58,191 [main] WARN org.opensearch.dataprepper.plugins.source.loghttp.HTTPSource - In order to set up Http Basic authentication for the http source, go here: https://github.com/opensearch-project/data-prepper/tree/main/data-prepper-plugins/http-source#authentication-configurations
2023-12-06T10:15:58,196 [main] INFO org.opensearch.dataprepper.parser.PipelineTransformer - Building buffer for the pipeline [log-pipeline]
2023-12-06T10:15:58,206 [main] INFO org.opensearch.dataprepper.parser.PipelineTransformer - Building processors for the pipeline [log-pipeline]
2023-12-06T10:15:58,289 [main] INFO org.opensearch.dataprepper.parser.PipelineTransformer - Building sinks for the pipeline [log-pipeline]
2023-12-06T10:15:58,290 [main] INFO org.opensearch.dataprepper.parser.PipelineTransformer - Building [opensearch] as sink component
2023-12-06T10:15:58,336 [main] INFO org.opensearch.dataprepper.parser.PipelineTransformer - Constructing MultiBufferDecorator with [0] secondary buffers for pipeline [log-pipeline]
2023-12-06T10:15:58,571 [main] INFO org.opensearch.dataprepper.pipeline.Pipeline - Pipeline [log-pipeline] - Initiating pipeline execution
2023-12-06T10:15:58,575 [log-pipeline-sink-worker-2-thread-1] INFO org.opensearch.dataprepper.pipeline.Pipeline - Pipeline [log-pipeline] - sink is not ready for execution, retrying
2023-12-06T10:15:58,576 [log-pipeline-sink-worker-2-thread-1] INFO org.opensearch.dataprepper.plugins.sink.opensearch.OpenSearchSink - Initializing OpenSearch sink
2023-12-06T10:15:58,587 [main] INFO org.opensearch.dataprepper.pipeline.server.HttpServerProvider - Creating Data Prepper server with TLS
2023-12-06T10:15:58,609 [log-pipeline-sink-worker-2-thread-1] INFO org.opensearch.dataprepper.plugins.sink.opensearch.ConnectionConfiguration - Using the username provided in the config.
2023-12-06T10:15:58,870 [main] INFO org.opensearch.dataprepper.pipeline.server.DataPrepperServer - Data Prepper server running at :4900
2023-12-06T10:15:58,936 [log-pipeline-sink-worker-2-thread-1] INFO org.opensearch.dataprepper.plugins.sink.opensearch.ConnectionConfiguration - Using the trust all strategy
2023-12-06T10:15:59,473 [log-pipeline-sink-worker-2-thread-1] WARN org.opensearch.dataprepper.plugins.sink.opensearch.OpenSearchSink - Failed to initialize OpenSearch sink, retrying: opensearch-node1: System error

@IQSHM Could you share the opensearch sink configuration?