2017-02-21 53 views
0

這elasticsearch安全是我的elasticsearch.yml與X-包

cluster.name: cluster 
node.name: esn1 
path.conf: "/etc/elasticsearch" 
path.data: "/var/lib/elasticsearch" 
path.logs: "/var/log/elasticsearch" 
network.host: 0.0.0.0 
http.port: 9201 
bootstrap.memory_lock: false 
discovery.zen.minimum_master_nodes: 1 
xpack.monitoring.enabled: false 
xpack.graph.enabled: false 
xpack.watcher.enabled: false 

我還安裝x-pack

# sudo /usr/share/elasticsearch/bin/elasticsearch-plugin list 
repository-s3 
x-pack 

不過:

curl -XPUT 'http://localhost:9200/_xpack/security/user/elastic/_password' -d ' 
> { 
> "password": "L5ngDgtl00?" 
> } 
> ' 
No handler found for uri [/_xpack/security/user/elastic/_password] and method [PUT][ 

任何想法?

回答