My Kibana is connected to Elasticsearch. However, to make an ES index visible to Kibana you have to configure it manually as I described in the original post. Same for dashboards/visualizations: the user has to import them manually into Kibana. What I'm asking for is a Kibana REST API that I can call for doing those operations programmatically, without the intervention of the end user.
I know that I can write to the .kibana metadata ES index, but that's weird and error prone, that's the reason why I'm asking for a better way.
Thanks in advance, guys.