When consuming Datameer's "useraction.log," I would like to know if users are downloading data directly to their machines.
Documentation Link:
https://documentation.datameer.com/documentation/display/DAS70/Logging+User+Actions
If the action states DOWNLOAD_FULL_DATA
, the user downloaded data to their machine. If it is relevant to understand if this download originated from either an import job or workbook, you need to parse the additional data contained in the JSON record.
Here are two example records.
The first for downloading from a workbook:
{"timestamp":"2018-08-02 12:06:17","action-type":"JOB","action":"DOWNLOAD_FULL_DATA","performed-by-user":"qa","performer-roles":["ADMIN"],"ip-address":"85.232.9.17","root-uuid":"18a36762-dc0b-4325-b69b-863c3139e851","file-uuid":null,"file-path":null,"folder-path":null,"group-name":null,"read-permission":null,"write-permission":null,"execute-permission":null,"shared-public":null,"new-owner-name":null,"user-name":null,"role-name":null,"execution-id":null,"execution-type":null,"execution-triggered-by":null,"execution-job-schedule":null,"execution-configuration-path":null,"execution-configuration-uuid":null,"execution-job-status":null,"execution-job-user":null,"data-uuid":null,"data-path":null,"workbook-uuid":"18a36762-dc0b-4325-b69b-863c3139e851","workbook-path":"/Data/Tests/WorkbookSourceData.wbk","workbook-sheet-name":null,"workbook-sheet-column-name":null,"workbook-sheet-column-index":null,"datasource-uuid":null,"datasource-path":null,"workbook-join-sheets":null,"application-uuid":null,"application-path":null,"old-name":null,"old-path":null}
Note:
"workbook-uuid":"18a36762-dc0b-4325-b69b-863c3139e851","workbook-path":"/Data/Tests/WorkbookSourceData.wbk"
"datasource-uuid":null,"datasource-path":null
The second, downloading from an import job:
{"timestamp":"2018-08-02 12:11:55","action-type":"JOB","action":"DOWNLOAD_FULL_DATA","performed-by-user":"qa","performer-roles":["ADMIN"],"ip-address":"85.232.9.17","root-uuid":"7e200f35-d434-441d-8bce-0d9e203422ed","file-uuid":null,"file-path":null,"folder-path":null,"group-name":null,"read-permission":null,"write-permission":null,"execute-permission":null,"shared-public":null,"new-owner-name":null,"user-name":null,"role-name":null,"execution-id":null,"execution-type":null,"execution-triggered-by":null,"execution-job-schedule":null,"execution-configuration-path":null,"execution-configuration-uuid":null,"execution-job-status":null,"execution-job-user":null,"data-uuid":null,"data-path":null,"workbook-uuid":null,"workbook-path":null,"workbook-sheet-name":null,"workbook-sheet-column-name":null,"workbook-sheet-column-index":null,"datasource-uuid":"7e200f35-d434-441d-8bce-0d9e203422ed","datasource-path":"/Data/Tests/ImportJob.imp","workbook-join-sheets":null,"application-uuid":null,"application-path":null,"old-name":null,"old-path":null}
Note:
"datasource-uuid":"7e200f35-d434-441d-8bce-0d9e203422ed","datasource-path":"/Data/Tests/ImportJob.imp"
"workbook-uuid":null,"workbook-path":null
If a user were to leverage either a workbook sheet or an import job within a new workbook, you would see LINK_DATASOURCE
instead of DOWNLOAD_FULL_DATA
.
Comments
0 comments
Please sign in to leave a comment.