You are currently reviewing an older revision of this page.

Current user activity fails to clear even after the user has logged out

Symptoms

Current User Activity on admin console fails to clear: 

Cause

This happens due to a bug in the product which is tracked in AN-13952.

Action

While Product Engineering releases a fix for this bug, use the workaround to resolve the issue. 

Workaround

Run the following command on backend: 

curl -XPOST --header "Authorization: Basic <Same as KB Article>" "localhost:9200/user-activity/_delete_by_query" -H 'Content-Type: application/json' -d' { "query": { "match_all": {} } }'

The above command should print somewhat similar output:

{"took":12,"timed_out":false,"total":39,"deleted":39,"batches":1,"version_conflicts":0,"noops":0,"retries":{"bulk":0,"search":0},"throttled_millis":0,"requests_per_second":-1.0,"throttled_until_millis":0,"failures":[]}w

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: August 2019