Below is the output
{"_nodes":{"total":1,"successful":1,"failed":0},"cluster_name":"elasticsearch-config","cluster_uuid":"HOmHTXwORSWeJ9VMPBQxkQ","timestamp":1607320736637,"status":"red","indices":{"count":0,"shards":{},"docs":{"count":0,"deleted":0},"store":{"size_in_bytes":0,"reserved_in_bytes":0},"fielddata":{"memory_size_in_bytes":0,"evictions":0},"query_cache":{"memory_size_in_bytes":0,"total_count":0,"hit_count":0,"miss_count":0,"cache_size":0,"cache_count":0,"evictions":0},"completion":{"size_in_bytes":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,"max_unsafe_auto_id_timestamp":-9223372036854775808,"file_sizes":{}},"mappings":{"field_types":[{"name":"alias","count":72,"index_count":2},{"name":"binary","count":13,"index_count":2},{"name":"boolean","count":208,"index_count":9},{"name":"byte","count":1,"index_count":1},{"name":"date","count":202,"index_count":12},{"name":"date_range","count":1,"index_count":1},{"name":"double","count":98,"index_count":1},{"name":"flattened","count":9,"index_count":1},{"name":"float","count":130,"index_count":6},{"name":"geo_point","count":36,"index_count":5},{"name":"integer","count":31,"index_count":3},{"name":"ip","count":88,"index_count":5},{"name":"keyword","count":4206,"index_count":12},{"name":"long","count":2696,"index_count":8},{"name":"nested","count":14,"index_count":4},{"name":"object","count":3239,"index_count":12},{"name":"scaled_float","count":112,"index_count":1},{"name":"text","count":395,"index_count":11}]},"analysis":{"char_filter_types":[],"tokenizer_types":[],"filter_types":[{"name":"pattern_capture","count":1,"index_count":1}],"analyzer_types":[{"name":"custom","count":1,"index_count":1}],"built_in_char_filters":[],"built_in_tokenizers":[{"name":"uax_url_email","count":1,"index_count":1}],"built_in_filters":[{"name":"lowercase","count":1,"index_count":1},{"name":"unique","count":1,"index_count":1}],"built_in_analyzers":[{"name":"simple","count":4,"index_count":1}]}},"nodes":{"count":{"total":1,"coordinating_only":0,"data":0,"ingest":0,"master":1,"ml":1,"remote_cluster_client":1,"transform":0,"voting_only":0},"versions":["7.9.0"],"os":{"available_processors":1,"allocated_processors":1,"names":[{"name":"Linux","count":1}],"pretty_names":[{"pretty_name":"CentOS Linux 7 (Core)","count":1}],"mem":{"total_in_bytes":3221225472,"free_in_bytes":595521536,"used_in_bytes":2625703936,"free_percent":18,"used_percent":82}},"process":{"cpu":{"percent":0},"open_file_descriptors":{"min":430,"max":430,"avg":430}},"jvm":{"max_uptime_in_millis":75149908,"versions":[{"version":"14.0.1","vm_name":"OpenJDK 64-Bit Server VM","vm_version":"14.0.1+7","vm_vendor":"AdoptOpenJDK","bundled_jdk":true,"using_bundled_jdk":true,"count":1}],"mem":{"heap_used_in_bytes":1336735744,"heap_max_in_bytes":2147483648},"threads":45},"fs":{"total_in_bytes":315993423872,"free_in_bytes":315925983232,"available_in_bytes":315909206016},"plugins":[{"name":"repository-gcs","version":"7.9.0","elasticsearch_version":"7.9.0","java_version":"1.8","description":"The GCS repository plugin adds Google Cloud Storage support for repositories.","classname":"org.elasticsearch.repositories.gcs.GoogleCloudStoragePlugin","extended_plugins":[],"has_native_controller":false}],"network_types":{"transport_types":{"security4":1},"http_types":{"security4":1}},"discovery_types":{"zen":1},"packaging_types":[{"flavor":"default","type":"docker","count":1}],"ingest":{"number_of_pipelines":1,"processor_stats":{"gsub":{"count":0,"failed":0,"current":0,"time_in_millis":0},"script":{"count":0,"failed":0,"current":0,"time_in_millis":0}}}}}
My elasticsearch cluster health becomes red when I added beats part.