Commit c8022daa authored by litaolemo's avatar litaolemo

update

parent bdcf6b5a
......@@ -17,7 +17,7 @@ import json
hosts = '172.16.52.49'
port = 9200
es2 = elasticsearch.Elasticsearch(hosts=hosts, port=port)
es2 = e7.Elasticsearch(hosts=hosts, port=port)
es7 = e7.Elasticsearch(hosts="172.16.52.33", port=9200,http_auth=("elastic","gengmei!@#"))
# es7 = e7.Elasticsearch(hosts="172.16.31.17", port=9000)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment