Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SecuritySolution] Improve asset criticality migration task (elastic#…
…194791) ## Summary After testing the task for 1_000_000 criticalities, I noticed some request timeouts in the logs. The task finished successfully because it retried after the timeouts. But let's prevent it. So, I updated the `requestTimeout` to 5m and increased the `scroll_size` to 10_000. Logs after changes: ``` [2024-10-03T11:02:20.381+02:00][DEBUG][plugins.taskManager] Running task security-solution-ea-asset-criticality-ecs-migration "security-solution-ea-asset-criticality-ecs-migration-task-id" [2024-10-03T11:02:20.382+02:00][DEBUG][execution_context] {"type":"task manager","name":"run security-solution-ea-asset-criticality-ecs-migration","id":"security-solution-ea-asset-criticality-ecs-migration-task-id","description":"run task"} [2024-10-03T11:02:59.588+02:00][INFO ][plugins.securitySolution.entityAnalytics.migration] Task "security-solution-ea-asset-criticality-ecs-migration" finished. Updated documents: 1020371, failures: 0 ```
- Loading branch information