[error][data][elasticsearch] [TimeoutError]: Request timed out

I am trying to install Kibana on my windows machine, it keeps giving me error. I have also tried to delete all Kibana task - curl -XDELETE http://localhost:9200/.kibana*
But still getting this error. Below are the logs. Any guidance would be appreciated.
"
log [06:12:48.072] [warning][config][plugins][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml
log [06:12:48.073] [warning][config][plugins][security] Session cookies will be transmitted over insecure connections. This is not recommended.
log [06:12:48.118] [warning][config][encryptedSavedObjects][plugins] Generating a random key for xpack.encryptedSavedObjects.encryptionKey. To be able to decrypt encrypted saved objects attributes after restart, please set xpack.encryptedSavedObjects.encryptionKey in kibana.yml
log [06:12:48.129] [warning][ingestManager][plugins] Fleet APIs are disabled due to the Encrypted Saved Objects plugin using an ephemeral encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in kibana.yml.
log [06:12:48.286] [warning][config][plugins][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.reporting.encryptionKey in kibana.yml
log [06:12:48.290] [info][config][plugins][reporting] Chromium sandbox provides an additional layer of protection, and is supported for Win32 OS. Automatically enabling Chromium sandbox.
log [06:12:48.308] [warning][actions][actions][plugins] APIs are disabled due to the Encrypted Saved Objects plugin using an ephemeral encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in kibana.yml.
log [06:12:48.343] [warning][alerting][alerts][plugins][plugins] APIs are disabled due to the Encrypted Saved Objects plugin using an ephemeral encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in kibana.yml.
log [06:12:48.528] [info][monitoring][monitoring][plugins] config sourced from: production cluster
log [06:12:48.899] [info][savedobjects-service] Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations...
log [06:12:49.003] [info][savedobjects-service] Starting saved objects migrations
log [06:12:49.073] [info][savedobjects-service] Creating index .kibana_1.
log [06:12:49.078] [info][savedobjects-service] Creating index .kibana_task_manager_1.
log [06:13:19.094] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:13:19.097] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:13:19.102] [warning][savedobjects-service] Unable to connect to Elasticsearch. Error: Request timed out
log [06:13:19.106] [warning][savedobjects-service] Unable to connect to Elasticsearch. Error: Request timed out
log [06:13:51.642] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:13:51.644] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:14:24.171] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:14:24.173] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:14:56.680] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:14:56.681] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:15:29.200] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:15:29.215] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:16:01.721] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:16:01.736] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:16:34.230] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:16:34.278] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:17:06.750] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:17:06.812] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:17:39.265] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:17:39.342] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:18:11.787] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:18:11.864] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:18:44.306] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:18:44.386] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:19:16.840] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:19:16.903] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:19:49.370] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:19:49.432] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:20:21.901] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:20:21.964] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:20:54.422] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:20:54.480] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:21:26.942] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:21:27.020] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:21:59.451] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:21:59.528] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:22:31.971] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:22:32.057] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:23:04.488] [error][data][elasticsearch] [TimeoutError]: Request timed out
log [06:23:04.566] [error][data][elasticsearch] [TimeoutError]: Request timed out
"

Welcome to our community! :smiley:

You don't really want to do that, it's not deleting Kibana tasks, it deletes all of the persistent data that Kibana builds. Things like dashboards.

Can you connect to Elasticsearch from the same host that Kibana is on?