I am developing new custom plugin for kibana. I am trying to create the plugin same as visualizations. After adding the module dependency kibana/courier into my app i am getting the following errors.
Uncaught Error: [$injector:modulerr] Failed to instantiate module kibana due to:
Error: [$injector:modulerr] Failed to instantiate module discover/saved_searches due to:
Error: [$injector:modulerr] Failed to instantiate module kibana/courier due to:
Error: [$injector:nomod] Module 'kibana/courier' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument. http://errors.angularjs.org/1.4.7/$injector/nomod?p0=kibana%2Fcourier
Oh..Thanks..It is resolved now..
I have one more query where can i identify the request and response processing. That is which place Kibana making request to the elastic server and how the kibana handling or processing the response from the elastic server...
A lot of the search related requests happen in courier, but that's not the only piece of code that makes requests to ES. Kibana uses the elasticsearch.js client and you'll see its use throughout the code. On the frontend you'll see the es service being used, on the backend you'll see the es client being accessed as a Hapi plugin.
So it's a bit of a complicated question, there isn't one piece of code that handles all requests/responses.
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.