As we can see the /logs/search is causing the timeout, I guess it has to do with what we talked about this morning @loicmathieu with index on Postgres. Still I don't know why it has loaded on Blueprint page, did you come from another page before ? yup, it's very likely that I came there from another page 👍 
UI: Timeout exceeded
### Issue description

![image](https://github.com/kestra-io/kestra/assets/86264395/80b22006-a33a-45f8-a86c-93f40a5d435a)

![image](https://github.com/kestra-io/kestra/assets/86264395/22d9a756-0d32-4ad7-8e91-faa87a21b6e2)

![image](https://github.com/kestra-io/kestra/assets/86264395/2d1b84f3-c7af-447d-9325-39fe1ee120ef)

jump dumping it all as I have no idea what can be helpful here 😅 
jdbc-h2/src/main/resources/migrations/h2/V18_index_logs.sql jdbc-mysql/src/main/resources/migrations/mysql/V16_index_logs.sql jdbc-postgres/src/main/resources/migrations/postgres/V21_index_logs.sql
diff --git a/jdbc-h2/src/main/resources/migrations/h2/V18_index_logs.sql b/jdbc-h2/src/main/resources/migrations/h2/V18_index_logs.sql
new file mode 100644
index 0000000000..670d66af69
--- /dev/null
+++ b/jdbc-h2/src/main/resources/migrations/h2/V18_index_logs.sql
@@ -0,0 +1,3 @@
+DROP INDEX logs_namespace;
+DROP INDEX logs_timestamp;
+CREATE INDEX logs_namespace_flow ON logs (deleted, timestamp, level, namespace, flow_id);
\ No newline at end of file
diff --git a/jdbc-mysql/src/main/resources/migrations/mysql/V16_index_logs.sql b/jdbc-mysql/src/main/resources/migrations/mysql/V16_index_logs.sql
new file mode 100644
index 0000000000..7d7c3d5427
--- /dev/null
+++ b/jdbc-mysql/src/main/resources/migrations/mysql/V16_index_logs.sql
@@ -0,0 +1,3 @@
+DROP INDEX ix_namespace ON logs;
+DROP INDEX ix_timestamp ON logs;
+CREATE INDEX ix_namespace_flow ON logs (deleted, timestamp, level, namespace, flow_id);
\ No newline at end of file
diff --git a/jdbc-postgres/src/main/resources/migrations/postgres/V21_index_logs.sql b/jdbc-postgres/src/main/resources/migrations/postgres/V21_index_logs.sql
new file mode 100644
index 0000000000..670d66af69
--- /dev/null
+++ b/jdbc-postgres/src/main/resources/migrations/postgres/V21_index_logs.sql
@@ -0,0 +1,3 @@
+DROP INDEX logs_namespace;
+DROP INDEX logs_timestamp;
+CREATE INDEX logs_namespace_flow ON logs (deleted, timestamp, level, namespace, flow_id);
\ No newline at end of file
