-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to the new _fleet/_fleet_search and _fleet/_fleet_msearch Elas…
…ticsearch Fleet APIs, remove holes detection and refreshes (#814) * Switch to the new _fleet/_fleet_search and _fleet/_fleet_msearch Elasticsearch Fleet APIs, remove holes detection and refreshes * Switch to the new _fleet/_fleet_msearch and _fleet/_fleet_search Fleet APIs endpoints for the searches that required refreshes and wait for checkpoints. The new API handles refreshes and checkpoints waits. * Separate queues for _msearch and _fleet_msearch, to avoid delays on searches without checkpoints wait. Use _fleet/_fleet_msearch endpoint if search is requested with wait_for_checkpoints. Use _fleet/_fleet_search for the monitor hits fetch. * Had to copy over the search and msearch wrappers from go-elasticsearch library and customize them for _fleet_search and _fleet_msearch. These could be removed once the library is updated for these new endpoints. * Removed the holes detection and refresh op code as it's not longer used.
- Loading branch information
Showing
15 changed files
with
1,242 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.