You are currently reviewing an older revision of this page.

DRAFT INT - XXXX 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 issue has been reported to the Appian Product Team. The reference number for this issue is AN-139529.

Action

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

Workaround

  • If it is a Linux install, run the following command: 

curl -XPOST --header "Authorization: Basic YWRtaW46YQ" "localhost:9200/user-activity/_delete_by_query" -H 'Content-Type: application/json' -d' { "query": { "match_all": {} } }'
  • If it is a windows install, run the following command: 
Invoke-RestMethod -Method Post -Uri "http://localhost:9200/user-activity/_delete_by_query" -Header @{"Authorization" = "Basic YWRtaW46YQ=="} -Body '{ "query": { "match_all": {} } }' -ContentType "application/json"

The above commands should print the following: 

{"took":X"timed_out":false,"total":X,"deleted":X,"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