Excluding Users from Activity Streams

Larger Helix Core Server installations often have one or more service users that perform automated tasks, such as build systems, continuous integration test servers, or integrations with 3rd-party databases via P4DTG.

As Swarm reports the activity of users, and these service users can generate significant volumes of activity entries, Swarm provides a mechanism to ignore activity from specified users.

Tip

If you make a configuration change, Swarm will not use it until the configuration cache has been reloaded, this forces Swarm to use the new configuration. You must be an admin or super user to reload the Swarm config cache. Navigate to the User id dropdown menu, select System Information, click the Cache Info tab, and click the Reload Configuration button.

Update the SWARM_ROOT/data/config.php file to include the following configuration block:

<?php
// this block should be a peer of 'p4'
'activity' => array(
'ignored_users' => array(
'p4dtguser',
'system',
),
),

After SWARM_ROOT/data/config.php is updated, Swarm no longer records activity for any of the listed userids. Any previously recorded activity is included in activity streams.