Elasticsearch Common Commands

Source: Internet
Author: User

4 [[Email protected]:bin] #curl-xget http://10.0.2.15:9200/_cluster/health

5 shutting down the entire cluster

6 [[Email protected]:bin] #curl-xpost http://10.0.2.15:9200/_cluster/nodes/_shutdown?pretty

7 Closing a single node

8 [[Email Protected]:bin] #curl-xpost http://10.0.2.15:9200/_cluster/nodes/TbWXkW2dSpa_KWgDK3BeXg/_shutdown?pretty

9 Getting the node identifier

Ten Curl Http://192.168.33.10:9200/_cat/indices?v

11

Github.com/elasticsearch/elasticsearh-servicewrapper startup script

13

Long2ip (rand (0, Ip2long ("255.255.255.255")),

15

Curl Http://192.168.33.10:9200/_settings?pretty

17

Curl-xget Http://localhost:9200/_cluster/health?pretty

19 {

"Cluster_Name": "Myescluster",

"Status": "Red",

"Timed_out": false,

"Number_of_nodes": 20,

"Number_of_data_nodes": 16,

"Active_primary_shards": 2558,

"Active_shards": 5628,

"Relocating_shards": 0,

"Initializing_shards": 4,

"Unassigned_shards": 22

30}

Http://pear.php.net/go-pear.phar

32

Cat/proc/sys/net/netfilter/nf_conntrack_count

Tail-f/proc/net/nf_conntrack

Elasticsearch Common Commands

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.