Commit d2b13e21 authored by litaolemo's avatar litaolemo

update

parent e1fd8b17
......@@ -16,7 +16,7 @@ import json
# from urllib import parse
hosts = '172.16.52.49'
port = 9200
port = 9000
es2 = elasticsearch.Elasticsearch(hosts=hosts, port=port)
es7 = e7.Elasticsearch(hosts="172.16.52.33", port=9200,http_auth=("elastic","gengmei!@#"))
......
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