You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example shows how to use the Spring Shell tool to parse an access log file. It is also possible to perform queries with totalization of accesses by ip, with a threshold and date period.
*[Spring Data JPA](https://projects.spring.io/spring-data-jpa)
18
+
19
+
*[Maven](https://maven.apache.org)
20
+
21
+
22
+
23
+
## Starting...
24
+
25
+
mvn spring-boot:run
26
+
27
+
After start, type help to list all commands.
28
+
29
+
### Commands
30
+
31
+
clean: clear all data rows on database
32
+
count: count data rows on database
33
+
load: Load data file. Example: load path-to-log-file
34
+
parse: Parse the log file and search data. Example: parse path-to-log-file start-date(in yyyy-MM-dd.HH.mm.ss format) duration(hourly or daily) threshold(greather than 0)
35
+
query: Search data from database. Example: query start-date(in yyyy-MM-dd.HH.mm.ss format) duration(hourly or daily) threshold(greather than 0)
0 commit comments