Commit 57a8b666 authored by litaolemo's avatar litaolemo

update

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