initialize specific indices as needed

This commit is contained in:
reyesj2
2026-01-29 15:41:39 -06:00
parent 36f8c490c8
commit b3d1dd51a4
3 changed files with 39 additions and 0 deletions

View File

@@ -828,6 +828,7 @@ if ! [[ -f $install_opt_file ]]; then
fi
checkin_at_boot
set_initial_firewall_access
initialize_elasticsearch_indices "so-case so-casehistory so-assistant-session so-assistant-chat"
# run a final highstate before enabling scheduled highstates.
# this will ensure so-elasticsearch-ilm-policy-load and so-elasticsearch-templates-load have a chance to run after elasticfleet is setup
info "Running final highstate for setup"