Bonjour
I'm not sure I fully understood what you are getting and what you would like to get.
Could you illustrate that with a simple basic example?
Like could you provide a full recreation script as described in About the Elasticsearch category. It will help to better understand what you are doing. Please, try to keep the example as simple as possible.
A full reproduction script is something anyone can copy and paste in Kibana dev console, click on the run button to reproduce your use case. It will help readers to understand, reproduce and if needed fix your problem. It will also most likely help to get a faster answer.
Have a look at the Elastic Stack and Solutions Help ยท Forums and Slack | Elastic page. It contains also lot of useful information on how to ask for help.