Reduce Dashboard Loading Time

I have a kibana dashboard which contains 7 vega lite visualisations & 2 kibana lens visualisations. Version used: 8.6.2
The dashboard takes around 13-14 sec to load. Most of the time is spent in loading Kibana.
HOW TO REDUCE THE DASHBOARD LOAD TIME? INSIDE THE ANGULAR IFRAME ?
Kibana is currently using 3-node elasticsearch cluster and tried to implement other dashboard optimization settings in kibana as well.

Please suggest some method/ useful links to get the dashboard loaded in least possible time.

Also, is it possible to disable some plugins like APM, canvas so that same are not loaded at run time & loading time can be improved?
If yes, please guide.

Typically Kibana is slow because Elasticsearch is slow.

What is the output from the _cluster/stats?pretty&human API in Elasticsearch?

Hi @warkolm
Thanks for the response!
Below is the output for asked query:
{ "_nodes": { "total": 3, "successful": 3, "failed": 0 }, "cluster_name": "docker-cluster", "cluster_uuid": "tQ4MkhSERfa0bYgPcsnVCA", "timestamp": 1682061491152, "status": "green", "indices": { "count": 18, "shards": { "total": 36, "primaries": 18, "replication": 1, "index": { "shards": { "min": 2, "max": 2, "avg": 2 }, "primaries": { "min": 1, "max": 1, "avg": 1 }, "replication": { "min": 1, "max": 1, "avg": 1 } } }, "docs": { "count": 27843, "deleted": 95166 }, "store": { "size": "54.4mb", "size_in_bytes": 57058255, "total_data_set_size": "54.4mb", "total_data_set_size_in_bytes": 57058255, "reserved": "0b", "reserved_in_bytes": 0 }, "fielddata": { "memory_size": "5.6kb", "memory_size_in_bytes": 5832, "evictions": 0 }, "query_cache": { "memory_size": "37.6kb", "memory_size_in_bytes": 38560, "total_count": 5571687, "hit_count": 170402, "miss_count": 5401285, "cache_size": 4, "cache_count": 25, "evictions": 21 }, "completion": { "size": "0b", "size_in_bytes": 0 }, "segments": { "count": 108, "memory": "0b", "memory_in_bytes": 0, "terms_memory": "0b", "terms_memory_in_bytes": 0, "stored_fields_memory": "0b", "stored_fields_memory_in_bytes": 0, "term_vectors_memory": "0b", "term_vectors_memory_in_bytes": 0, "norms_memory": "0b", "norms_memory_in_bytes": 0, "points_memory": "0b", "points_memory_in_bytes": 0, "doc_values_memory": "0b", "doc_values_memory_in_bytes": 0, "index_writer_memory": "300.1kb", "index_writer_memory_in_bytes": 307320, "version_map_memory": "0b", "version_map_memory_in_bytes": 0, "fixed_bit_set": "26kb", "fixed_bit_set_memory_in_bytes": 26712, "max_unsafe_auto_id_timestamp": 1681899218838, "file_sizes": {} }, "mappings": { "total_field_count": 444, "total_deduplicated_field_count": 444, "total_deduplicated_mapping_size": "15.6kb", "total_deduplicated_mapping_size_in_bytes": 16039, "field_types": [ { "name": "alias", "count": 1, "index_count": 1, "script_count": 0 }, { "name": "boolean", "count": 9, "index_count": 4, "script_count": 0 }, { "name": "constant_keyword", "count": 7, "index_count": 3, "script_count": 0 }, { "name": "date", "count": 33, "index_count": 9, "script_count": 0 }, { "name": "float", "count": 7, "index_count": 2, "script_count": 0 }, { "name": "integer", "count": 3, "index_count": 1, "script_count": 0 }, { "name": "ip", "count": 3, "index_count": 3, "script_count": 0 }, { "name": "keyword", "count": 216, "index_count": 9, "script_count": 0 }, { "name": "long", "count": 34, "index_count": 5, "script_count": 0 }, { "name": "nested", "count": 1, "index_count": 1, "script_count": 0 }, { "name": "object", "count": 74, "index_count": 8, "script_count": 0 }, { "name": "text", "count": 55, "index_count": 9, "script_count": 0 }, { "name": "version", "count": 1, "index_count": 1, "script_count": 0 } ], "runtime_field_types": [] }, "analysis": { "char_filter_types": [], "tokenizer_types": [], "filter_types": [], "analyzer_types": [], "built_in_char_filters": [], "built_in_tokenizers": [], "built_in_filters": [], "built_in_analyzers": [] }, "versions": [ { "version": "8.6.2", "index_count": 18, "primary_shard_count": 18, "total_primary_size": "27.1mb", "total_primary_bytes": 28454084 } ], "search": { "total": 72839, "queries": { "bool": 72262, "prefix": 5, "match": 1857, "range": 30369, "nested": 6, "wildcard": 3, "match_phrase": 564, "terms": 30267, "match_phrase_prefix": 181, "match_all": 3, "exists": 38429, "term": 42509, "simple_query_string": 8208 }, "sections": { "highlight": 2, "stored_fields": 143, "runtime_mappings": 5, "query": 72584, "script_fields": 143, "pit": 352, "terminate_after": 4, "_source": 2953, "fields": 145, "collapse": 14, "aggs": 4645 } } }, "nodes": { "count": { "total": 3, "coordinating_only": 0, "data": 3, "data_cold": 3, "data_content": 3, "data_frozen": 3, "data_hot": 3, "data_warm": 3, "index": 0, "ingest": 3, "master": 3, "ml": 3, "remote_cluster_client": 3, "search": 0, "transform": 3, "voting_only": 0 }, "versions": [ "8.6.2" ], "os": { "available_processors": 24, "allocated_processors": 24, "names": [ { "name": "Linux", "count": 3 } ], "pretty_names": [ { "pretty_name": "Ubuntu 20.04.5 LTS", "count": 3 } ], "architectures": [ { "arch": "amd64", "count": 3 } ], "mem": { "total": "12gb", "total_in_bytes": 12884901888, "adjusted_total": "12gb", "adjusted_total_in_bytes": 12884901888, "free": "3.1gb", "free_in_bytes": 3416342528, "used": "8.8gb", "used_in_bytes": 9468559360, "free_percent": 27, "used_percent": 73 } }, "process": { "cpu": { "percent": 0 }, "open_file_descriptors": { "min": 558, "max": 564, "avg": 561 } }, "jvm": { "max_uptime": "1.8d", "max_uptime_in_millis": 163742970, "versions": [ { "version": "19.0.2", "vm_name": "OpenJDK 64-Bit Server VM", "vm_version": "19.0.2+7-44", "vm_vendor": "Oracle Corporation", "bundled_jdk": true, "using_bundled_jdk": true, "count": 3 } ], "mem": { "heap_used": "2.3gb", "heap_used_in_bytes": 2573588656, "heap_max": "6gb", "heap_max_in_bytes": 6442450944 }, "threads": 291 }, "fs": { "total": "709.1gb", "total_in_bytes": 761486376960, "free": "651.2gb", "free_in_bytes": 699307917312, "available": "651.2gb", "available_in_bytes": 699307917312 }, "plugins": [], "network_types": { "transport_types": { "security4": 3 }, "http_types": { "security4": 3 } }, "discovery_types": { "multi-node": 3 }, "packaging_types": [ { "flavor": "default", "type": "docker", "count": 3 } ], "ingest": { "number_of_pipelines": 20, "processor_stats": { "conditional": { "count": 0, "failed": 0, "current": 0, "time": "0s", "time_in_millis": 0 }, "date": { "count": 0, "failed": 0, "current": 0, "time": "0s", "time_in_millis": 0 }, "geoip": { "count": 0, "failed": 0, "current": 0, "time": "0s", "time_in_millis": 0 }, "pipeline": { "count": 0, "failed": 0, "current": 0, "time": "0s", "time_in_millis": 0 }, "remove": { "count": 0, "failed": 0, "current": 0, "time": "0s", "time_in_millis": 0 }, "rename": { "count": 0, "failed": 0, "current": 0, "time": "0s", "time_in_millis": 0 }, "script": { "count": 0, "failed": 0, "current": 0, "time": "0s", "time_in_millis": 0 }, "set": { "count": 0, "failed": 0, "current": 0, "time": "0s", "time_in_millis": 0 }, "set_security_user": { "count": 0, "failed": 0, "current": 0, "time": "0s", "time_in_millis": 0 } } }, "indexing_pressure": { "memory": { "current": { "combined_coordinating_and_primary": "0b", "combined_coordinating_and_primary_in_bytes": 0, "coordinating": "0b", "coordinating_in_bytes": 0, "primary": "0b", "primary_in_bytes": 0, "replica": "0b", "replica_in_bytes": 0, "all": "0b", "all_in_bytes": 0 }, "total": { "combined_coordinating_and_primary": "0b", "combined_coordinating_and_primary_in_bytes": 0, "coordinating": "0b", "coordinating_in_bytes": 0, "primary": "0b", "primary_in_bytes": 0, "replica": "0b", "replica_in_bytes": 0, "all": "0b", "all_in_bytes": 0, "coordinating_rejections": 0, "primary_rejections": 0, "replica_rejections": 0 }, "limit": "0b", "limit_in_bytes": 0 } } } }

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