This is a centralized service to aggregate logs across several services
First install Node.js
clone the repository then cd into the project folder run
npm install
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}
Adeyemi Kayode - Initial work - paginate-mongoose-data