vtech.loggingservice

1.0.1 • Public • Published

Following are the steps to get it running
1. Create db in mysql using scripts ./dbscripts/
2. execute npm install in the project folder


--post to url : http://localhost:3000/logging
--select content type as - application/json

/*sample post object*/
{
"source":"Source123",
"severity": "Severity",
"user": "User",
"timestamp": "12/12/2015",
"category": "catetory",
"server": "server",
"keywords": "keywords",
"trackingid": "trackingid",
"executiontime": 10,
"accountid": 1,
"providerid": 1,
"status": "status",
"requesterapplication": "requesterapplication",
"ptype": "ptype",
"ipaddress": "ipaddress",
"usersession": "userssion",
"trace":
{
"request":"tracerequest",
"response":"traceresponse"
}

}



/*Sample exception search criteria*/
{
"searchstring": "searcString",
"searchcolum": "searchString",
"user": "userString",
"isdatespecified":1,
"timestampstart":"12/12/2015",
"timestampend":"12/12/2015",
"category": "category",
"server": "server",
"trackingid": "trackingid",
"accountid": 1,
"providerid": 1,
"status": "success",
"requesterapplication": "requesterapplication",
"ptype": "p_type",
"ipaddress": "ipaddress",
"usersession": "usersession"
}

Readme

Keywords

none

Package Sidebar

Install

npm i vtech.loggingservice

Weekly Downloads

0

Version

1.0.1

License

none

Last publish

Collaborators

  • vtech.shikhar