# Sending logs to Elasticshearch

**URL:** <https://discuss.elastic.co/t/sending-logs-to-elasticshearch/359280>\
**Category:** Kibana\
**Tags:** kibana-plugin-development\
**Created:** [May 10, 2024, 4:58pm UTC](https://discuss.elastic.co/t/sending-logs-to-elasticshearch/359280 "2024-05-10T16:58:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![largado](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/largado/32/134389_2.png) [@largado](https://discuss.elastic.co/u/largado)\
**Post date:** [May 10, 2024, 4:58pm UTC](https://discuss.elastic.co/t/sending-logs-to-elasticshearch/359280/1 "2024-05-10T16:58:36Z")

</div>

My server is opening high number of connections to send data to elasticsearch.  
Is there any way to send data to elasticsearch opening only one connection and sending all data by this only one connection.

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [June 17, 2024, 3:34pm UTC](https://discuss.elastic.co/t/sending-logs-to-elasticshearch/359280/2 "2024-06-17T15:34:20Z")

</div>

Hi @largado,

Welcome! Can you explain how you are sending logs to Elasticsearch at the moment? You have tagged the post with `kibana-plugin-development` but I'm not sure if you are sending them via plugin code.

Let us know!

---

<div class="post-metadata">

**Author:** ![Souvik\_Das](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/souvik_das/32/107606_2.png) [@Souvik\_Das](https://discuss.elastic.co/u/Souvik_Das)\
**Post date:** [June 18, 2024, 5:23am UTC](https://discuss.elastic.co/t/sending-logs-to-elasticshearch/359280/3 "2024-06-18T05:23:03Z")

</div>

Hi, Please provide more details on your requirements. Usually, to send logs, one can use filebeat / logstash to send data to elasticsearch.
