welcome to the forum @Mouly_Infy
This has been asked directly or indirectly a couplee of times, e.g. here
See this github thread too for some ideas.
You need be careful here too as other clients (not just Kibana/Discover) can hit issues with large HTTP payloads. I dont know your use case and what you are specifically trying to do, but it's unlikely there is much value in "seeing" a 23 MB document within Kibana.