I'm working on a Kibana plugin and the question I have is: is it possible to modify the internal request's response in Kibana, when loading the Discover page.
The thing I'm trying to achieve is modifying response of request to saved objects so that the index pattern related to the user only is displayed.
Is there a way to intercept such a request and if so, how would one do that?
If you are looking to tweak the code for the Discover page I think it's a bit more complex, but I think you can dig into the discover folder src/legacy/core_plugins/kibana/public/discover and understand how the API request is created and how to deal with the response.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.