The User Activity Logging Engine, or User-ALE, is a logging mechanism used to quantitatively assess the behavioural and cognitive state of a data analyst while interacting with Big Data Exploitation Systems (BDES).

To accurately measure the cognitive state of the user, tool developers associate model based workflow states with each user action. Did a user pan a map? Then they are exploring. Did a user click a search button? Then they are getting new data. These model based activities can then be processed to measure hidden empirical states that describe more accurately the user's workflow and behaviour.

##Who is the package for?

This package is for developers creating User facing tools, and who would like to log the users interaction with this tool, in order to gain an insight into the behavioural and cognitive state of the user.

##JavaScript Quickstart Download both the latest logging library and the latest worker library from Github.

###Instantiate the JavaScript Logger

// web worker url
var worker = 'js/draper.activity_worker-2.1.1.js'
var ac = new activityLogger(worker);
.testing(true) // simulate POST, won't send log
.echo(true) // log to console
.mute(['SYS']); // don't log SYSTEM actions

###Register the logger


###Log a User Action

$('#button').mouseenter(function() {
  'User hovered over element to read popup', // description
  'hover_start', // activity_code
  ac.WF_EXPLORE // workflow State

ELK Stack Getting Started

Install Dependencies

  • Install Vagrant (This may require downloading the newest version from their website rather than trusting apt-get)
  • Install VirtualBox

If behind a proxy, modify Vagrantfile

  • Modifiy the vagantfile to point to your proxy.
  • Don't forget to add “http://” as leaving that off may break apt-get in the vagrant vm
  • Example: config.proxy.http=“
  • If your host system is also the proxy (e.g. CNTLM): setting the proxy as or localhost may confuse the Vagrant VM and prevent net access

Start Vagrant

This will provision the base box which is an Ubuntu 14.04 machine. The Kibana/ELK server is running on while the developer box is running on

vagrant up

Go to Kibana Dashboard at

Send logs by going here: