List of current active scrolls

Is there a way to know how many scroll_ids are currently active and how long they have been running?

We want to know how many scrolls are currently running and clear long running scroll

-Thanks

jay224,

According to the docs for scroll searches,

You can check how many search contexts are open with the nodes stats API.
GET /_nodes/stats/indices/search

The path in the response to the relevant data is nodes.<node_ID>.indices.search.open_contexts.

That will provide running search context at node level, but it won't provide the active scroll_id(s) running on cluster at the time of running.

-Thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.