I’m looking for a best/newest way to send Spring Boot application logs directly into Elasticsearch server without using Filebeats or Logstash. How can I do that? Is there a simple/modern way in Spring Boot or using any good/reputed library to achieve that?
What I need is directly sending logs from Spring Boot to Elasticsearch without any middle service like Logstash. If a third party library that can add to pom.xml and if it is doing that completely that is fine. I need the Spring application itself to handle this. I have checked some similar questions in Stack Overflow.
But some libraries are deprecated now and some are not updated for a long time. I like to know about a new library or a way to do this now? Basically what it is writing to console should be sent to Elasticsearch.