#!/bin/bash

 

$ curl -u elastic:password -k "https://xxx.xxx.xxx.xxx:xxxx/_cluster/health?pretty"

=====================================================

 

$ curl -u elastic:password http://xxx.xxx.xxx.xxx:9200/_cluster/health?pretty 

{
  "cluster_name" : "hello_world",
  "status" : "green",
  "timed_out" : false,
  "number_of_nodes" : 3,
  "number_of_data_nodes" : 3,
  "active_primary_shards" : 267,
  "active_shards" : 533,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 0,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 0,
  "number_of_in_flight_fetch" : 0,
  "task_max_waiting_in_queue_millis" : 0,
  "active_shards_percent_as_number" : 100.0
}

'ELK > elasticsearch' 카테고리의 다른 글

logstash ruby syntax  (0) 2020.04.14
logstash file stdin  (0) 2020.04.14
reindex query shellscript array  (0) 2020.02.03
대상 인덱스의 field 모두를 fielddata true로 변환하는 방법  (0) 2020.01.17
app-search  (0) 2020.01.06