1、
curl -u elastic:mypass -X GET "localhost:9200/my_index/_search?pretty"
相关链接:https://www.jianshu.com/p/f53da7e6469c