Master eligible nodes are 2. (I know this setting is to be an odd number)
I am getting error like below
.monitoring-logstash-6-2018.12.12/PJ98ndmCTl-R1c1qUTGpng]] can not be imported as a dangling index, as an index with the same name and UUID exist in the index tombstones. This situation is likely caused by copying over the data directory for an index that was previously deleted.
(DATA folder was not copied or deleted. Only restarted )
org.elasticsearch.action.UnavailableShardsException: [.monitoring-es-6-2018.12.20][0] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[.monitoring-es-6-2018.12.20][0]] containing [index {[.monitoring-es-6-2018.12.20][doc][MrzYymcBNIueI7r1YAIm], source[{"cluster_uuid":"lqoa3HJhRPyUAQUkLgFeqw","timestamp":"2018-12-20T09:00:37.283Z","interval_ms":10000,"type":"node_stats","source_node":{"uuid":"LdsS8QO7SUauL7vUOYljMw","host":"xxxxxxx","transport_address":"xxxxxxxx","ip":"xxxxxx","name":"elklog02","timestamp":"2018-12-20T09:00:37.283Z"},"node_stats":{"node_id":"LdsS8QO7SUauL7vUOYljMw","node_master":false,"mlockall":false,"indices":{"docs":{"count":0},"store":{"size_in_bytes":0},"indexing":{"index_total":0,"index_time_in_millis":0,"throttle_time_in_millis":0},"search":{"query_total":0,"query_time_in_millis":0},"query_cache":{"memory_size_in_bytes":0,"hit_count":0,"miss_count":0,"evictions":0},"fielddata":{"memory_size_in_bytes":0,"evictions":0},"segments":{"count":0,"memory_in_bytes":0,"terms_memory_in_bytes":0,"stored_fields_memory_in_bytes":0,"term_vectors_memory_in_bytes":0,"norms_memory_in_bytes":0,"points_memory_in_bytes":0,"doc_values_memory_in_bytes":0,"index_writer_memory_in_bytes":0,"version_map_memory_in_bytes":0,"fixed_bit_set_memory_in_bytes":0},"request_cache":{"memory_size_in_bytes":0,"evictions":0,"hit_count":0,"miss_count":0}},"os":{"cpu":{"load_average":{"1m":0.06,"5m":0.27,"15m":0.47}},"cgroup":{"cpuacct":{"control_group":"/","usage_nanos":329135454114692},"cpu":{"control_group":"/","cfs_period_micros":100000,"cfs_quota_micros":-1,"stat":{"number_of_elapsed_periods":0,"number_of_times_throttled":0,"time_throttled_nanos":0}},"memory":{"control_group":"/","limit_in_bytes":"9223372036854771712","usage_in_bytes":"7188840448"}}},"process":{"open_file_descriptors":353,"max_file_descriptors":65536,"cpu":{"percent":1}},"jvm":{"mem":{"heap_used_in_bytes":883829600,"heap_used_percent":27,"heap_max_in_bytes":3203792896},"gc":{"collectors":{"young":{"collection_count":218,"collection_time_in_millis":7084},"old":{"collection_count":2,"collection_time_in_millis":88}}}},"thread_pool":{"generic":{"threads":53,"queue":0,"rejected":0},"get":{"threads":0,"queue":0,"rejected":0},"index":{"threads":0,"queue":0,"rejected":0},"management":{"threads":2,"queue":0,"rejected":0},"search":{"threads":0,"queue":0,"rejected":0},"watcher":{"threads":0,"queue":0,"rejected":0},"write":{"threads":0,"queue":0,"rejected":0}},"fs":{"total":{"total_in_bytes":50986217472,"free_in_bytes":45045489664,"available_in_bytes":45045489664},"io_stats":{"total":{"operations":43899,"read_operations":33705,"write_operations":10194,"read_kilobytes":1088276,"write_kilobytes":147328}}}}}]}]]
Also please point me to setting the monitoring indices template as well.