Community Conundrum 25:Feature Visualization is now live! Read More

Monitor users

Level 2
Monitor users

We have just deployed a couple of DSS projects to our automation node, and given Reader access to many customers who will be viewing the dashboards or running webApps produced by those projects.

We are wondering what is the best way to monitor the usages from those users. Is there a way we can get a report on who has logged on and what activities during last week/month without digging into log files?

We are on DSS 6.0.1. Any information would be appreciated!

8 Replies

Hi there,

This information will indeed be contained in the audit logs, which can be found in the "run" folder of your DSS data directory. However, instead of parsing them manually, you can always import these files as datasets in DSS and use DSS to perform the analysis you need! A bit meta but I hope that this helps or at least gets you pointed in the right direction!



Level 2

Thank you for your info!  My understanding that this tool is for monitoring DSS services and system resource usages. Our interest is user logins and activities in a summarized report.

Level 4

Hi Andrew,

We have in fact done this (analyze the most recent audit log by connecting to it in DSS). However, making sense of the audit log has been a challenge. Is there any reference to how to interpret data in the audit logs? We are interested in something similar - logins and key activities (building datasets and running scenarios would be a start). The basic question is who is using DSS, how much are using it, and for what.





We do not have a reference of the audit log.

However, as a quick start, each JSON record in the audit log looks like:






  • You want to focus the ones where "logger" is "dku.audit.generic".
  • Generally speaking, you can ignore "severity", "callTime", "mdc" and "message.callPath" which are fairly internal details

  • Then, the most important pieces of information are:timestamp, message.authUser and message.msgType

These three items make up the "when", "who" and "what" of the activity. Then, depending on "msgType", you will have additional details within "message".

The granularity of audit event is very fine and each page view will trigger multiple audit events corresponding to the underlying API calls. You'll thus indeed want to focus on some specific audit events.

Most events will at least contain a "projectKey" element in message, and will contain information about the current object. For example, all dataset-related events will contain "datasetName" and so on.

Here are some "interesting" audit events "msgType"

  • application-open: DSS was open in a browser tab
  • login/logout: self-explanatory
  • dataset-read-data-sample: A dataset's Explore was open
  • flow-job-start / flow-job-done: A job was started/completed
  • flow-object-build-start / flow-object-build-failed / flow-object-build-success: Within a job, a dataset was built
  • scenario-run: A scenario was run manually
  • scenario-fire-trigger: A scenario was run automatically
Level 4

Hi @Clément_Stenac ,

This is super helpful. I had made some progress in understanding the log but your notes will really in putting together some helpful monitoring. Appreciate you taking the time to write these up. 

Thank you!


Community Manager
Community Manager

We're happy you find this helpful @Marlan !

Don't forget to mark as "Accepted Solution" when someone provides the correct answer to your question.
0 Kudos
Level 2

Thank you much for this info, which helps us to understand the audit log details better!  Hope Dataiku will make an enhancement in near future to add a summary dashboard/report for user activities per projects under 'Administration -> Maintenance".

Level 3

I second this request, Dataiku should provide better data on how users are using the app. Audit logs are not really suited for that although they can be used.