Skip to content

Instantly share code, notes, and snippets.

@atosdas
atosdas / gist:da07c0decce6784552aebd1e4e3b6ad2
Created September 9, 2019 07:32
Cluster health status
[root@ageu1m-cbs-elk-es-vm5 elasticsearch]# curl -XGET http://172.18.3.198:9200/_cluster/health?pretty
{
"cluster_name" : "lobster",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 6,
"number_of_data_nodes" : 6,
"active_primary_shards" : 8,
"active_shards" : 19,
"relocating_shards" : 0,
@atosdas
atosdas / elasticsearch.yml configuration
Created September 9, 2019 06:59
ELasticsearch configuration
[root@ageu1m-cbs-elk-es-vm5 elasticsearch]# cat elasticsearch.yml
# ======================== Elasticsearch Configuration =========================
#
# NOTE: Elasticsearch comes with reasonable defaults for most settings.
# Before you set out to tweak and tune the configuration, make sure you
# understand what are you trying to accomplish and the consequences.
#
# The primary way of configuring a node is via this file. This template lists
# the most important settings you may want to configure for a production cluster.
#
GET /
===
{
"name": "ageu1m-cbs-elk-es-vm2",
"cluster_name": "lobster",
"cluster_uuid": "xH5Qki6WQUGeSdsSmJUVdg",
"version": {
"number": "6.2.4",
"build_hash": "ccec39f",
"build_date": "2018-04-12T20:37:28.497551Z",