Elasticsearch status="RED"

I am having problems with elasticsearch on production. (only a single server). And i don't know where to start? (ES the dockerized one)

Elasticsearch is on red status

curl -XGET 'host:9200/_cluster/health?pretty'


{
  "cluster_name" : "docker-cluster",
  "status" : "red",
  "timed_out" : true,
  "number_of_nodes" : 1,
  "number_of_data_nodes" : 1,
  "active_primary_shards" : 0,
  "active_shards" : 0,
  "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
}

curl -XGET 'host:9200/'

{
  "name" : "bQNn8yR",
  "cluster_name" : "docker-cluster",
  "cluster_uuid" : "41HBfCLmT7GRPeA2tHj65Q",
  "version" : {
    "number" : "6.2.2",
    "build_hash" : "10b1edd",
    "build_date" : "2018-02-16T19:01:30.685723Z",
    "build_snapshot" : false,
    "lucene_version" : "7.2.1",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}

Docker configuration :

elastic1:
    image: docker.elastic.co/elasticsearch/elasticsearch:6.2.2
    ports:
      - "9200:9200"
      - "9300:9300"
    environment:
      - discovery.type=single-node
      - "ES_JAVA_OPTS=-Xms8g -Xmx8g"
      - bootstrap.memory_lock=true

i tried with:

curl -XGET 'host:9200/_cat/indices?v&health=red'

and i get an enormous number of red indexes!

Please Help!
@DavidTurner
@dadoonet
@Christian_Dahlqvist

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.