Unify and manage your data

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
Table 1. Parameters
NameRequiredDescription
HeadersAuthorizationYesInformation about authentication access token in format "Bearer <accessToken>" (see details in Authentication API .
PathtenantIdYesID of the tenant to reindex activity log records.
QueryskipEntitiesCountNoThe number of activity log records that will be skipped during the reindexing. Default: 0.
updatedSinceNoTimestamp in UNIX format. If this parameter is specified, then activity log records with a greater or equal timestamp are reindexed.
activityFullReindexNoIf true, reindexes all activities in ES. If false or not specified, only previous month activities are reindexed.
distributedNo
If set to true, the task runs in distributed mode. Default value is false. For more information, see Distributed mode.
taskPartsCountNo
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.

Example Request
POST http://prod.reltio.com/api/f4k313n4n1X/reindexActivities?distributed=true
Headers: Authorization: Bearer 204938ca-2cf7-44b0-b11a-1b4c59984512