Project Data Source Logs
Last updated
Last updated
This functionality allows to get report metrics on the various data sources that were processed by a SymetryML project. Data Sources logs can be requested as well as the logs about the SymetryML streaming API and .
The data source log contains information about each data source that was processed (learn / forget) by a SymetryML project. It also contains other meta information about each invocation:
Key
Description
client_id
Client id who made the call
ds_client_ip
Ip address of the client
ds_request_type
Learn or Forget
ds_name
Data Source name
ds_request_datetime
Date of the request
ds_request_df_numrows
Number of rows processed
ds_request_process_time
Process time
ds_request_response_code
HTTP Response code (E.g. 200, 4xx, etc)
The Learn / Forget Stream log is a bit different. As these REST endpoints are designed to continuously stream data into a project, they can easily grow large if we keep track of meta-data for each invocation that pushes new data into a SymetryML project. For more information on the SymetryML streaming API consult the following sections:
The learn / forget logging REST endpoint aggregate data based on the type of data that was pushed into the learn / forget streaming API for a given project. More particularly the following fields - or primary keys - are used to aggregate logging information:
client_id
client_request_type
client_request_reponse_code
client_request_df_attributes_names
client_request_df_attributes_types
The following table lists what information is returned for the learn / forget logging rest API based on the previous list. The primary keys are in listed in bold.
Key
Description
client_id
Client id who made the call
client_request_type
Learn or forget
client_request_reponse_code
HTTP Response code (e.g. 200, 4xx, etc)
client_request_df_attributes_names
DataFrame attributes names
client_request_df_attributes_types
DataFrame attributes types
client_request_process_time
Total process time across all invocations
client_request_count
Number of times such Dataframe were pushed via the learn or forget rest endpoint
client_request_df_attributes_numrows_total
Total number of rows processed so far
Get a given project data source log. This log contains information about the data sources that were processed by a given project.
HTTP Status Code
HTTP Status Message
Description
200
OK
Success.
HTTP Response Entity
Example
Example response with project with two data sources successfully learned:
The REST endpoint provides logging information about data that was pushed to a given project via the various stream APIs.
HTTP Status Code
HTTP Status Message
Description
200
OK
Success.
HTTP Response Entity
Example
Each string represents a Map containing the key value information described in the .
Each string represent a Map containing the key value information described in the .