$49.99
Description
This is a version 2 of my Tomcat Access Log Analyzer – much more performant and scalable the my previous version. You could check it out here: https://programtom.com/dev/product/access-log-analyzer-micro-service-app-dev/.
Access Log Analyzer – Tech Stack
In this version, besides Spring Boot and Vaadin – inside a docker/docker compose/ – the application uses MongoDB. There is a degradetion of Transaction atomacity – in exchange of much better performance. In this Software Source Code package you will find:
- MongoDB & Spring Data – Repository Interfaces. Spring takes care of translating the interfaces to queries
- MongoDB Aggregation
- Filtering
- Grouping
- Counting
- Sum
I’ve found with experience that – the order of all the above operations is very important for getting the correct responce from queries. One example is the paging where – the skipping/offseting instruction must be first and second to be – limiting the result size.
Screens
Server Node
First you need to bind the logs to a server from where it is grabbed.
Calendar View
This product iuncludes another utility that you could get separately: Vaadin Calendar Component. From withing this view (accessed from the Server Summary button) – you could see for which days you have uploaded log files.
Screen 1:
Screen 2:
Log Analyzer Aggregation Functions
You could extract statistics from different time periods:
- Yesterday
- Last Week
- Last 1/3/6 Months
- or Current or concrete Month – navigated from the Calendar view.
These counts – bounded to IPs do not “tell” any meaning. For that – you have access to separate IP Mapping Table, where you could enter what is the source of IP.
I may improve this mapping at some time in the future – to get even more decision making numbers.