I am trying to write a python script that pulls all the dashboards, Saved searches, Index and Visualization's from the .kibana index and then store it as a JSON file in my local system. My question is what is the query to pull all the dashboards or Visualizations in elastic search 6.3? . I tried the following query
" GET /.kibana/visualization/_search?pretty&size=50 " and it worked perfectly for elastic search 6.2 but the same query doesn't work in 6.3 version. Am i missing anything here? Thanks and your help will be much appreciated.
Note : I am a newbie to the ELK and i did went through the saved objects API documentation but couldn't figure it out.