Index: /branches/amp_3_7/scripts/avxapps_startup.sh
===================================================================
--- /branches/amp_3_7/scripts/avxapps_startup.sh	(revision 2510)
+++ /branches/amp_3_7/scripts/avxapps_startup.sh	(working copy)
@@ -220,4 +220,6 @@
 #add crontab
 /usr/bin/python /ca/bin/check_crontab_add.py
 
+# Import kibana dashboard during the startup
+/bin/bash /ca/bin/import_kibana_dashboard.sh
 
Index: /branches/amp_3_7/scripts/import_kibana_dashboard.sh
===================================================================
--- /branches/amp_3_7/scripts/import_kibana_dashboard.sh	(revision 2510)
+++ /branches/amp_3_7/scripts/import_kibana_dashboard.sh	(working copy)
@@ -3,6 +3,7 @@
 # Configuration
 KIBANA_URL="http://localhost:5601"
 DASHBOARD_FILE="/ca/bin/dashboard.ndjson"
+STARTUP_DELAY=30  # Add a delay in seconds
 
 # Check if the dashboard file exists
 if [ ! -f "$DASHBOARD_FILE" ]; then
@@ -10,6 +11,10 @@
   exit 1
 fi
 
+# Wait for Kibana to potentially start
+echo "Waiting $STARTUP_DELAY seconds for Kibana to be ready..."
+sleep "$STARTUP_DELAY"
+
 # Import the dashboard
 RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" -X POST "$KIBANA_URL/api/saved_objects/_import" \
   -H "kbn-xsrf: true" \
