# Sending Spring Boot logs directly to Elasticsearch

**URL:** <https://discuss.elastic.co/t/sending-spring-boot-logs-directly-to-elasticsearch/344045>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-monitoring, docker\
**Created:** [September 28, 2023, 8:12am UTC](https://discuss.elastic.co/t/sending-spring-boot-logs-directly-to-elasticsearch/344045 "2023-09-28T08:12:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tusharSuvarna](https://avatars.discourse-cdn.com/v4/letter/t/d2c977/32.png) [@tusharSuvarna](https://discuss.elastic.co/u/tusharSuvarna)\
**Post date:** [September 28, 2023, 8:12am UTC](https://discuss.elastic.co/t/sending-spring-boot-logs-directly-to-elasticsearch/344045/1 "2023-09-28T08:12:30Z")

</div>

Hi,  
I am running a spring boot application as a docker container.  
I want to send the logs of the application directly to Elasticsearch server without using Filebeats, Logstash or APM. Basically everything that is written to console should be sent to Elasticsearch.  
My Elasticsearch is running as a docker container. I have tried few solutions but didn't work for me.  
I’m wondering if this is possible? If so could you explain how you would do it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 26, 2023, 8:12am UTC](https://discuss.elastic.co/t/sending-spring-boot-logs-directly-to-elasticsearch/344045/2 "2023-10-26T08:12:37Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
