Spaces are not part of the Elasticsearch API you will need to hit the Kibana API.
The Elastic Python client does not directly interact with Kibana as fair as I know, so you will need to use the Kibana API and Kibana Endpoint via an HTTP request like above but against Kibana
Right but against the Kiabana endpoint per the docs you reference, not the elasticsearch endpoint
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.