/log

A centralized logging application which can collect and aggregate different types of logs in one central location.

Primary LanguageJavaScript

Log service

This is a centralized service to aggregate logs across several services

Installation

First install Node.js

clone the repository then cd into the project folder run

npm install

API DOCUMENTATION

Http Method Endpoint Description
POST baseurl/api/log/upload This is to upload a log file to the server, using contentType of formData required key/field(log)
PUT baseurl/api/log/search To find log object, using contentType of application/json {"fileName": "savedlogfile"}
PUT baseurl/ap/log/remove To delete a log, using contentType of application/json {"fileName": "savedlogfile"}

env sample

PORT=

ACCESS_KEYID=

SECRET_ACCESS_KEY=

SPACE_ENDPOINT=

BUCKET_FILE_PATH="{buckername}/{nestedfolder}"

BUCKET={buckername}

Authors

Adeyemi Kayode - Initial work - paginate-mongoose-data