Skip to content
keep_growing
  • Java
    • Spring Boot
  • Tools
  • Taking care
  • Angular
  • About
  • Sun Conure Software

logging

Processing logs with Elastic Stack #2 – configure Kibana

26th May 202021st June 2020 little_pineconeTools
featured image

Kibana allows us to browse data indexed in Elasticsearch nodes. We’re going to run Kibana in a Docker container and set up its configuration so it displays logs from our example Spring Boot app.

Read more

Processing logs with Elastic Stack #1 – parse and send various log entries to Elasticsearch

21st May 202018th June 2020 little_pineconeTools
featured image

Why should we learn how to process application logs with Elastic Stack? After all, the default logging mechanism in Spring Boot allows us to start working on our POC in no time. However, we must be aware that inadequate logging makes debugging and monitoring difficult in a production environment.

Read more

Setting JVM options for an Elasticsearch service run in a Docker container

20th May 202010th June 2020 little_pineconeTools
featured image

Default minimum and maximum heap size used by Elasticsearch is set to 1GB. I want to show you how you can modify this value when running the service with Docker.

Read more

Spring Boot Log4j 2 advanced configuration #2 – add a Rollover Strategy for log files

19th May 202019th May 2020 little_pineconeSpring Boot, Tools
featured image

We don’t want to allocate too much space for our log files. Let’s see how we can manage their livespan.

Read more

Spring Boot Log4j 2 advanced configuration #1 – saving logs to files

19th May 202019th May 2020 little_pineconeSpring Boot, Tools
featured image

Apart from having logs displayed directly in the console, we can configure our Spring Boot project to write log entries into files. It not only allows us to easily store and share logs for debugging, but also can be the first step towards browsing them in Kibana.

Read more

Parsing logs with Grok #2 How to parse exceptions alongside regular logs

16th May 202017th May 2020 little_pineconeTools
featured image

When dealing with an exception stack trace we have to not only construct a separate match for our grok filter but also make sure that all lines will be treated as one entry.

Read more

Parsing logs with Grok #1 What to do when part of one field got caught in a different pattern

14th May 202017th May 2020 little_pineconeTools
featured image

I want to show you some issues that I encountered while applying the Grok filter plugin on logs. Most of my problems resulted from overusing the GREEDYDATA pattern (.*). I tested my solutions with the Grok Debugger app where you can also find the list of available patterns.

Read more
Created by Marta Szymek
  • Privacy Policy
Powered by WordPress | Theme: Astrid by aThemes.