Any way to restrict msearch done by any client for any index


(Sushant Sood) #1

I want to restrict an msearch made by a client for a specific index in elastic search . Is there any possible approach available in elasticsearch to skip a search right away ?


(Mark Walkom) #2

You can use Shield to restrict access to the endpoint, but otherwise there isn't a way within ES itself.


(Sushant Sood) #3

Thanks for your response.What I was thinking is if I can write a plugin where I can define a rest filter and update the IndicesRequest with specific index and skip the other index.Can you please review this approach if it will be fine to achieve it


(system) #4