Result window is too large error in custom plugin

hi team,
i m writing my custom plugin in Kibana and use table in EUI to visualize events. So when i click to 241403 page it comes to error " Result window is too large, from + size must be less than or equal to: [10000] but was [1207016]". Use "request body search" with from and size parametres. what is the workaround?