Question

I'm developing a RESTful API with java and want to have usage statistics. so i've set a filter that log all authenticated request in a defined format, it currently simply writes the data to a day rolling file.

i want to have an administration panel to analyze and get data from this log such as how many request were made by specific user.

the best thing i can think of is to have a JAVA api to fetch the data i need, is there an open source or a good framework that can be handy or the best way is to develop something myself?

Was it helpful?

Solution

Take a look at GrayLog2, it is open source free logger that can do more then basic reports of your log data. GrayLog2 reads the logs from Apache elastic-search, you can populate from flume or using Log4J adapter.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top