reyesj2
2959dc9564
keep logs for all 3 attempts
2026-07-09 14:18:08 -05:00
reyesj2
3394e9aab7
increase agent health timeout and add logging for elastic agent status output
2026-07-09 11:29:43 -05:00
reyesj2
85d7f6bebc
independently download so-elastic-agent installer
2026-07-08 08:19:15 -05:00
reyesj2
2a4a7307f7
uninstall agent after downloading new one and getting gridtoken
2026-07-08 07:51:13 -05:00
reyesj2
f8de176f4b
uninstall agent on final failed attempt
2026-07-08 07:47:47 -05:00
reyesj2
70af3cec53
avoid using 'failure' until all loops are done so so-verify doesn't flag it
2026-07-07 16:48:10 -05:00
reyesj2
57b7d59387
verify elastic-agent reports healthy status before completing installation
2026-07-07 16:42:47 -05:00
reyesj2
84228a819b
remove heayvnode FleetServer_* directory creation, and skip empty directories during FleetServer policy management
2026-06-23 15:30:49 -05:00
reyesj2
96fcc0ec38
wip
2026-06-22 14:25:46 -05:00
Josh Patterson
d0bea2ebcb
Restore grouped per-integration logging and retry 409s in fleet integration loader
...
elastic_fleet_load_integrations_dir now buffers each concurrent job's
output (header + API response) to a per-job file and prints them in
submission order after wait, restoring the readable serial-style output
while keeping concurrent writes.
Add --retry-all-errors to the integration create/update curl calls so
transient 409 conflicts from concurrent writes to the same agent policy
are retried (curl --retry alone does not retry 409).
2026-06-18 11:19:36 -04:00
Josh Patterson
8e33d0e1e9
Merge remote-tracking branch 'origin/3/dev' into soupmod2
2026-06-16 12:54:18 -04:00
Josh Patterson
ae6a705ce1
Speed up so-elastic-fleet-integration-policy-load
...
Fetch each agent policy once per group instead of refetching the full
policy (plus a fresh Kibana session cookie) for every integration file,
and dispatch the create/update writes as throttled background jobs.
Adds elastic_fleet_load_integrations_dir and elastic_fleet_throttle to
so-elastic-fleet-common, reusing the bounded-concurrency pattern from
so-elasticsearch-ilm-policy-load. Replaces the four serial loops in the
loader with one call per agent policy.
2026-06-12 09:38:41 -04:00
reyesj2
289ddda5e8
kibana health check for fleet scripts
2026-06-10 17:06:22 -05:00
reyesj2
39d0947102
update default elastic agent logging level to warning
2026-04-29 17:38:40 -05:00
reyesj2
89e49d0bf3
rework elasticsearch index template generation
2026-04-09 16:44:51 -05:00
reyesj2
8cf0d59560
remove block of elasticsearch-logs integration on heavynodes
2026-01-26 12:48:15 -06:00
reyesj2
a78e0b0871
only create /opt/so/state/eaintegrations.txt when all policies have been created/updated successfully
2026-01-26 12:26:21 -06:00
reyesj2
32f030f6f6
formatting
2026-01-26 12:24:31 -06:00
reyesj2
e9af46a8cb
less strict exits for fleet configuration
2025-09-30 14:28:42 -05:00
reyesj2
336ca0dbbd
typos
2025-09-18 15:42:25 -05:00
reyesj2
faa112eddf
update last so-elastic-fleet-common functions
2025-09-18 12:18:16 -05:00
reyesj2
f663f22628
elastic_fleet_integration_id
2025-09-18 10:27:54 -05:00
reyesj2
8b07ff453d
elastic_fleet_integration_policy_package_version
2025-09-18 10:21:07 -05:00
reyesj2
24a0fa3f6d
add fleet_api wrapper for curl retries
2025-09-18 10:15:57 -05:00
reyesj2
a5011b398d
add err check and retries to elastic_fleet_integration_policy_package_name and associated scripts
2025-09-18 09:39:56 -05:00
reyesj2
5b70398c0a
add error check & retries to elastic_fleet_integration_policy_names and associated scripts
2025-09-17 15:35:20 -05:00
reyesj2
f3aaee1e41
update elastic_fleet_agent_policy_ids scripts already check rc
2025-09-17 14:59:41 -05:00
reyesj2
d0e875928d
add error checking and retries for elastic_fleet_installed_packages & associated script
2025-09-17 14:59:13 -05:00
reyesj2
9e24d21282
remove unused functions from so-elastic-fleet-common
2025-09-17 11:41:27 -05:00
reyesj2
5806999f63
add error check & retries to elastic_fleet_bulk_package_install
2025-09-17 11:39:06 -05:00
reyesj2
063a2b3348
update elastic_fleet_package_version_check & elastic_fleet_package_install to add error checking + retries. Update related scripts
2025-09-16 21:56:53 -05:00
reyesj2
bcd2e95fbe
add error checking and retries to elastic_fleet_integration_policy_upgrade
2025-09-16 21:22:03 -05:00
reyesj2
948d72c282
add error check and retry to elastic_fleet_integration_update
2025-09-16 21:07:02 -05:00
reyesj2
bdeb92ab05
add err check and retries for elastic_fleet_integration_create
2025-09-16 20:30:45 -05:00
reyesj2
fdb5ad810a
add err check and retries around func elastic_fleet_policy_create
2025-09-16 20:10:48 -05:00
reyesj2
4728b96c51
add a retry to so-elastic-fleet-integration-upgrade when response isn't what was expected that way the error message isn't throwin into sosetup / soup log
2025-07-22 16:16:28 -05:00
reyesj2
c89adce3a1
default disable automatic upgrades for optional integration packages & policies
2025-04-21 10:48:18 -05:00
reyesj2
844283cc38
get more results
2025-03-21 14:55:52 -05:00
reyesj2
17edc06987
allow installing integrations that require an elastic license
2025-02-24 14:45:43 -06:00
reyesj2
3530bff320
always update package components state file to ensure index templates are created with any available integration components
2025-02-17 12:29:27 -06:00
reyesj2
dab56f0882
update fleet-optional-integrations-load
...
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com >
2025-01-14 15:24:59 -06:00
reyesj2
cdd4a1ff1f
fixes addon integration map file
...
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com >
2025-01-03 16:06:22 -06:00
reyesj2
ecf094f684
WIP: support all es fleet integrations
...
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com >
2024-12-26 16:18:04 -06:00
weslambert
c58ed45cf0
Use ID instead of name
2024-10-08 10:55:16 -04:00
weslambert
69857b6b5c
Use ID instead of name
2024-10-08 10:54:54 -04:00
defensivedepth
219cb5e044
Merge remote-tracking branch 'origin/2.4/dev' into 2.4/defend-filters
2024-09-23 13:03:32 -04:00
defensivedepth
ef003ffbb5
Refactor
2024-09-23 12:55:07 -04:00
defensivedepth
074cc8e6ff
Initial commit
2024-09-20 11:58:21 -04:00
weslambert
57e06dced2
Change message
2024-09-13 13:52:01 -04:00
weslambert
973b93e332
Remove check for error
2024-09-13 13:49:53 -04:00