From ea539f8679a96c9360a90b04734fcc5e8f281de1 Mon Sep 17 00:00:00 2001 From: Josh Brower Date: Fri, 4 Sep 2026 17:50:32 -0400 Subject: [PATCH] Fix soup --- .../sbin/so-elasticsearch-system-indices-patch | 4 ++++ salt/manager/tools/sbin/soup | 18 ++++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/salt/elasticsearch/tools/sbin/so-elasticsearch-system-indices-patch b/salt/elasticsearch/tools/sbin/so-elasticsearch-system-indices-patch index 578485bd8..7622ad956 100644 --- a/salt/elasticsearch/tools/sbin/so-elasticsearch-system-indices-patch +++ b/salt/elasticsearch/tools/sbin/so-elasticsearch-system-indices-patch @@ -19,6 +19,8 @@ INDEX_PATTERNS=( '.entities.v2.latest.security_*' '.entities.v2.history.security_*' 'risk-score.risk-score-latest-*' + '.metrics-endpoint.metadata_united_*' + '.metrics-endpoint.metadata_current_*' ) DATA_STREAM_PATTERNS=( '.entities.v2.updates.security_*' @@ -33,6 +35,8 @@ TEMPLATE_PATTERNS=( '.risk-score.risk-score-default-index-template' '.rule-events' '.alert-actions' + '.metrics-endpoint.metadata_united_default-template' + '.metrics-endpoint.metadata_current_default-template' ) query_es() { diff --git a/salt/manager/tools/sbin/soup b/salt/manager/tools/sbin/soup index a1302f6e8..e66262ce5 100755 --- a/salt/manager/tools/sbin/soup +++ b/salt/manager/tools/sbin/soup @@ -1020,9 +1020,6 @@ update_kafka_metadata() { up_to_3.2.0() { ensure_salt_local_pillar - # download 9.3.7 elastic agent packages - determine_elastic_agent_upgrade - fix_logstash_0013_lumberjack_pipeline_name pin_elasticsearch_data_retention_method @@ -1041,10 +1038,6 @@ post_to_3.2.0() { # SOC database bootstrap is handled by the postgres.enabled highstate. scrub_postgres_log_passwords - # Generate 9.3.7 elastic agent installers - echo "Regenerating Elastic Agent Installers" - /sbin/so-elastic-agent-gen-installers - kibana_backport_streams_index_template update_kafka_metadata "4.3" @@ -1053,8 +1046,11 @@ post_to_3.2.0() { } ### 3.2.0 End ### -### 3.2.0 Scripts ### +### 3.3.0 Scripts ### up_to_3.3.0() { + # download 9.4.5 elastic agent packages + determine_elastic_agent_upgrade + INSTALLEDVERSION=3.3.0 } @@ -1081,7 +1077,13 @@ post_to_3.3.0() { # Recollate again since some internal DBs were excluded during 3.2.0 soup recollate_postgres + # Generate 9.4.5 elastic agent installers + echo "Regenerating Elastic Agent Installers" + /sbin/so-elastic-agent-gen-installers + telegraf_repair + + set_postversion 3.3.0 } ### 3.3.0 End ###