Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
c6a1ae7
Add test for SST progress monitoring variables (effyis#390)
PavelShilin89 Nov 9, 2025
200cd84
Fix watchdog cleanup and output formatting in SST progress test
PavelShilin89 Nov 10, 2025
6f4dbbe
test: add Logstash 9.2 version support
PavelShilin89 Nov 10, 2025
aaea1aa
test: add Logstash 9.2 version support
PavelShilin89 Nov 10, 2025
5140bf9
Merge branch 'test/issue-3866-logstash-9.2' of https://github.com/man…
PavelShilin89 Nov 10, 2025
4dc64bc
Add Logstash 9.2 support to integration tests
PavelShilin89 Nov 10, 2025
a307040
Update test-integrations-test-logstash-versions.rec
PavelShilin89 Nov 10, 2025
4bac89a
Deleted watchdog from searchd-with-flexible-ports.conf
PavelShilin89 Nov 10, 2025
f884dd2
The extra file has been deleted.
PavelShilin89 Nov 10, 2025
7b55624
docs: update Logstash and Filebeat supported versions to 9.2 with val…
PavelShilin89 Nov 13, 2025
ce5212b
docs: Auto-translate documentation changes by PavelShilin89
github-actions[bot] Nov 13, 2025
465c560
test: remove manual documentation check from version test
PavelShilin89 Nov 13, 2025
5d613de
chore: remove translation.json as it's no longer used
PavelShilin89 Nov 13, 2025
765a84f
Changed version format from "up to 9.2" to "7.6-9.2" in Logstash.md, …
PavelShilin89 Nov 16, 2025
cbe6c03
Merge branch 'master' into test/issue-3866-logstash-9.2
PavelShilin89 Nov 19, 2025
bfbb10c
docs: Auto-translate documentation changes by PavelShilin89
github-actions[bot] Nov 19, 2025
888448a
docs: update Filebeat version range from "8.x" to "8.19" in documenta…
PavelShilin89 Nov 24, 2025
a36d2a0
Added detailed configuration instructions for different Logstash vers…
PavelShilin89 Nov 24, 2025
a168d78
docs: Auto-translate documentation changes by PavelShilin89
github-actions[bot] Nov 24, 2025
400dba2
Correction manual/russian/Integration/Filebeat.md.
PavelShilin89 Nov 26, 2025
4bb1d40
Replace Alpine Linux package manager (apk) with Ubuntu package manage…
PavelShilin89 Nov 28, 2025
2008815
Update nightly_integration.yml
PavelShilin89 Nov 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ TESTED_VERSIONS="7.17
8.18
8.19
9.0
9.1"
9.1
9.2"

# Check for NEW versions (after latest tested)
LATEST_TESTED_VERSION="9.1"
LATEST_TESTED_VERSION="9.2"
NEW_VERSIONS=$(curl -s "https://hub.docker.com/v2/repositories/library/logstash/tags/?page_size=100" \
| jq -r ".results[].name" \
| grep "^[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*$" \
Expand Down Expand Up @@ -67,6 +68,29 @@ echo "Using tested versions:"
echo "$TESTED_VERSIONS"
SCRIPT
––– output –––
🆕 NEW Logstash versions detected:
✅ No new versions found after 9.2
Using tested versions:
7.17
8.0
8.1
8.2
8.3
8.4
8.5
8.6
8.7
8.8
8.9
8.10
8.11
8.12
8.13
8.14
8.15
8.16
8.17
8.18
8.19
9.0
9.1
9.2
❌ Need to test new versions and update the list!
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,21 @@ if [ "$version_major" -ge 8 ]; then
ilm_settings="ilm_enabled => false
manage_template => false"
fi
if [ "$version_major" -ge 9 ]; then
if [ "$version_major" -eq 9 ] && [ "$version_minor" -lt 2 ]; then
export ALLOW_SUPERUSER=1
sed -i '259s/^/# /' /usr/share/logstash/logstash-${VERSION}.0/logstash-core/lib/logstash/runner.rb 2>/dev/null || true
fi
if [ "$version_major" -gt 9 ] || ([ "$version_major" -eq 9 ] && [ "$version_minor" -ge 2 ]); then
mkdir -p /etc/logstash
cat > /etc/logstash/logstash.yml << LSYML
allow_superuser: true
LSYML
logstash_settings_args="--path.settings=/etc/logstash"
else
logstash_settings_args=""
fi
CONFIG_FILE="/tmp/logstash_config_${VERSION}.conf"
if [ "$version_major" -gt 9 ] || ([ "$version_major" -eq 9 ] && [ "$version_minor" -ge 1 ]); then
if [ "$version_major" -eq 9 ] && [ "$version_minor" -eq 1 ]; then
cat > "$CONFIG_FILE" << CONF
input {
file {
Expand Down Expand Up @@ -186,6 +195,7 @@ timeout $wait_time logstash --path.data="$TEMP_DATA_DIR" \
--log.level=error \
--pipeline.batch.size $batch_size \
$ecs_args \
$logstash_settings_args \
> /dev/null 2>&1 || true
sleep 10
echo "✓ Logstash $VERSION started and processed logs"
Expand Down Expand Up @@ -603,5 +613,19 @@ timeout 300 bash /tmp/logstash-single-test.sh 9.1
✓ Structure check for 9.1: passed
✓ Logstash version 9.1 tested successfully
––– input –––
for i in {1..3}; do wget -q --timeout=60 --tries=1 "https://artifacts.elastic.co/downloads/logstash/logstash-9.2.0-linux-x86_64.tar.gz" -O logstash-9.2.0.tar.gz && gzip -t logstash-9.2.0.tar.gz 2>/dev/null && tar -tzf logstash-9.2.0.tar.gz | grep -q "bin/logstash" && { echo "✓ Logstash 9.2.0 downloaded successfully"; break; } || { [ $i -eq 3 ] && echo "✗ Failed to download Logstash 9.2.0 after 3 attempts" >&2 || rm -f logstash-9.2.0.tar.gz >/dev/null 2>&1; sleep 2; }; done
––– output –––
✓ Logstash 9.2.0 downloaded successfully
––– input –––
timeout 300 bash /tmp/logstash-single-test.sh 9.2
––– output –––
>>> Testing Logstash version: 9.2
✓ Log file has 5 lines
✓ Manticore Search available
✓ Logstash 9.2 started and processed logs
✓ Row count check for 9.2: 5 rows
✓ Structure check for 9.2: passed
✓ Logstash version 9.2 tested successfully
––– input –––
rm -f logstash-*.tar.gz
––– output –––
Loading