Reindex Activity Log Records Task
Learn how to reindex activity log records in a tenant.
This task allows you to reindex all activity log records in a tenant. By default, only the previous month's activity logs are reindexed due to performance and storage size considerations.
To reindex all activities in Elastic Search (ES), use the activityFullReindex
parameter. Do take into consideration that this can cause significant load on ES and performance degradation.
Requests
Role with tenant admin privileges required:
POST {ApplicationURL}/api/{tenantId}/reindexActivities
Name | Required | Description | |
---|---|---|---|
Headers | Authorization | Yes | Information about authentication access token in format "Bearer <accessToken> " (see details in Authentication API . |
Path | tenantId | Yes | ID of the tenant to reindex activity log records. |
Query | skipEntitiesCount | No | The number of activity log records that will be skipped during the reindexing. Default: 0 . |
updatedSince | No | Timestamp in UNIX format. If this parameter is specified, then activity log records with a greater or equal timestamp are reindexed. | |
activityFullReindex | No | If true , reindexes all activities in ES. If false or not specified, only previous month activities are reindexed. | |
distributed | No |
If set to
true , the task runs in distributed mode. Default value is false . For more information, see Distributed mode. | |
taskPartsCount | No |
Specifies the maximum number of sub-tasks for distributed execution. The platform determines the optimal number based on performance limits. Default value is
2 . Note: This parameter is only applicable when distributed=true . Otherwise, it s ignored. |
Response
JSON Object representing a new task that has started.
POST http://prod.reltio.com/api/f4k313n4n1X/reindexActivities?distributed=true
Headers: Authorization: Bearer 204938ca-2cf7-44b0-b11a-1b4c59984512