Skip to content

harou24/loglizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loglizer

Go Makefile

Loglizer is a web-based interface for summarizing log files. It is capable of processing large amounts of logs data by using reader, worker, and combiner pattern to parallelize and streamline the analysis.

Running the Server

To start the server, open your terminal and run the following command from the root directory of the project:

make run

This command will start the server, making it listen for incoming requests. Ensure you have make installed and that you're in the correct directory where the Makefile is located.

Testing the Server

Once the server is up and running, you can test its functionality by sending a POST request with a CSV file. Replace /path/to/journaux.csv with the actual path to your CSV file that you want to process.

Use the following curl command to send your request:

curl -X POST -H "Accept: text/csv" -F "file=@/path/to/journaux.csv" http://localhost:15442/analysis

About

Summarizing hourly top logs from CSV files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published