I am trying to write a python script to get all the spaces in my Kibana spaces I tried all the different combos but there seems to be no proper way for it.
Here are the few examples that i tired resp = client.api.spaces()
url_space=f'http://{master}:5601/api/spaces/space'
## retrive all the spaces names from one master,
try:
space_names = requests.get(url_space, auth=(elk_admin_user,elk_admin_password))
space_names_array = space_names.json()
for i in range(0,len(space_names_array)):
this will get you all the space names from that server.
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.