Configure Spring Logging To Elasticsearch

Configure Spring Logging To Elasticsearch

Overview In this quick tutorial, I will show you how to configure Spring logging to Elasticsearch so you can search, visualize and do many useful things with your log. Things that you cannot do by looking at the console output. Let’s get started. Create ELK stack using Docker Compose If you don’t have Elasticsearch running … Read more

Spring Boot Commandline Runner Tutorial

Spring Boot Commandline Runner Tutorial

Overview There are times you need to do some start-up work when your Spring application launch. One of the methods is to use the CommandlineRunner interface. In this post, I’m going to show you how to use this interface to run startup tasks with flexibility. Let’s get started. Meet the CommandlineRunner interface The CommandlineRunner interface … Read more

AWS S3, Digital Ocean Spaces CRUD (Download, Upload) With Java Tutorial

Overview This post provides you code snippets so you can start working with AWS S3/Digital Ocean Spaces via java SDK quickly. You can use AWS S3 SDK to access DigitalOcean Spaces. Create key pair to feed to the client Before working on the code, you need to create a key pair so you can access … Read more