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
Name RequiredDescription
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.
distributedNoIf set to true, the task is run in distributed mode (see details in Distributed Mode).
taskPartsCountNoNumber of tasks that are created for distributed reindexing. Each task reindexes its own part of objects, and all of them may be executed on different API nodes. Recommended value: count of API nodes which can execute the tasks.
Note: This parameter is used only in distributed mode (distributed=true); otherwise, it is ignored.

Response

JSON Object representing a new task that has started.

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