The following is a list of all the properties that can be present in the logs.
In the case of MySQL logs all of these properties will be present in the table, whereas in the file logs they have to be specified in order to appear in said files.
•LkGuid
Unique code that identifies every EndPoint request that reaches LinkarWS. These requests will end up as operations that must be run by LinkarServer. The "LkGuid" generated by LinkarWS will be shared with LinkarServer in order to maintain the traceability of the LinkarWS request with the LinkarServer operation.
•RequestTimeStart
Timestamp at the moment the request reaches LinkarWS.
•ResponseDuration
Time elapsed until the response is received, in milliseconds.
•Operation
Identifies the type of EndPoint called:
CRUD_READ / CRUD_READ_SCH / CRUD_READ_DICT /
CRUD_SELECT / CRUD_SELECT_SCH / CRUD_SELECT_DICT /
CRUD_NEW / CRUD_NEW_SCH / CRUD_NEW_DICT /
CRUD_UPDATE / CRUD_UPDATE_SCH / CRUD_UPDATE_DICT /
CRUD_DELETE / CRUD_DELETE_SCH / CRUD_DELETE_DICT /
CRUD_DICTIONARIES / CRUD_PROPERTIES / CRUD_GETTABLE /
FUNCTION_SUBROUTINE / FUNCTION_EXECUTE / FUNCTION_FORMAT /
FUNCTION_OUTPUT_CONVERSION / FUNCTION_INPUT_CONVERSION /
FUNCTION_GETVERSION / FUNCTION_RESETCOMMONBLOCKS /
CUSTOM / SENDCOMMAND
•ApiKey
The ApiResource APIKEY.
•ContentType
An HTTP header that defines the format for the data using MIME types.
•LocalIP
The target IP for the request.
•RemoteIP
The origin IP for the request.
•Url
The URL used to access the EndPoint.
•Headers
A key-value pair list in json array format for all the HTTP headers sent with the request.
•Queries
A key-value pair list in json array for all the queries sent with the request.
•Body
The body for POST type operations.
•BodyLength
Strings can be truncated to a determined length according to the log configuration, in order to avoid oversaturating of the logs. This property shows the original length of the request's body.
•ResponseStatus
HTTP status code for the request's response.
•Response
The content of the request's response.
•ResponseLength
Strings can be truncated to a determined length according to the log configuration, in order to avoid oversaturating of the logs. This property shows the original length of the request's response.
•Level
Serilog's level for the log entry.
•Message
Text containing information about the LinkarServer operation (can be error messages, operation details, etc.)
•Exception
Information related to any internal exception that may be caught.
•Timestamp
Timestamp for the moment the log data is sent to Serilog. Serilog receives the data that is to be stored in the logs but the final writing to the logs (file or MySQL logs) is processed in batches. This timestamp only represents the time Serilogs received the data, not the moment it is written in the logs.
•_ts
Timestamp for the moment the data is written in the logs (File or MySQL logs).