Skip to content

Commit

Permalink
Adding logstash version to .env
Browse files Browse the repository at this point in the history
  • Loading branch information
f-galland committed Jul 11, 2024
1 parent 283f873 commit 88b4285
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 12 deletions.
5 changes: 4 additions & 1 deletion integrations/docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,7 @@ WAZUH_DASHBOARD_VERSION=2.12.0
WAZUH_CERTS_GENERATOR_VERSION=0.0.1

# Splunk version:
SPLUNK_VERSION=9.0.4
SPLUNK_VERSION=9.0.4

# Logstash version:
LOGSTASH_OSS_VERSION=8.9.0
2 changes: 2 additions & 0 deletions integrations/docker/compose.amazon-security-lake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ services:
image: wazuh/indexer-security-lake-integration
build:
context: ../logstash
args:
- LOGSTASH_OSS_VERSION=${LOGSTASH_OSS_VERSION}
container_name: wazuh.integration.security.lake
depends_on:
- wazuh.indexer
Expand Down
4 changes: 3 additions & 1 deletion integrations/docker/compose.indexer-elastic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,11 @@ services:
depends_on:
es01:
condition: service_healthy
image: logstash-oss:8.6.2
image: logstash-oss:${LOGSTASH_OSS_VERSION}
build:
context: ../logstash
args:
- LOGSTASH_OSS_VERSION=${LOGSTASH_OSS_VERSION}
environment:
LOG_LEVEL: info
MONITORING_ENABLED: false
Expand Down
4 changes: 3 additions & 1 deletion integrations/docker/compose.indexer-opensearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,14 @@ services:
- 'OPENSEARCH_HOSTS="https://opensearch.node:9200"'

logstash:
image: logstash-oss:${STACK_VERSION}
image: logstash-oss:${LOGSTASH_OSS_VERSION}
depends_on:
opensearch.node:
condition: service_healthy
build:
context: ../logstash
args:
- LOGSTASH_OSS_VERSION=${LOGSTASH_OSS_VERSION}
environment:
STACK_VERSION: ${STACK_VERSION}
LOG_LEVEL: info
Expand Down
4 changes: 2 additions & 2 deletions integrations/docker/compose.indexer-splunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ services:
depends_on:
splunk:
condition: service_healthy
image: logstash-oss:${STACK_VERSION}
image: logstash-oss:${LOGSTASH_OSS_VERSION}
environment:
STACK_VERSION: ${STACK_VERSION}
LOGSTASH_OSS_VERSION: ${LOGSTASH_OSS_VERSION}
LOG_LEVEL: info
MONITORING_ENABLED: false
volumes:
Expand Down
6 changes: 4 additions & 2 deletions integrations/docker/compose.manager-elastic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,13 @@ services:
condition: service_healthy
wazuh-certs-generator:
condition: service_completed_successfully
image: logstash-oss:${STACK_VERSION}
image: logstash-oss:${LOGSTASH_OSS_VERSION}
build:
context: ../logstash
args:
- LOGSTASH_OSS_VERSION=${LOGSTASH_OSS_VERSION}
environment:
STACK_VERSION=${STACK_VERSION}
LOGSTASH_OSS_VERSION=${LOGSTASH_OSS_VERSION}
LOG_LEVEL: info
MONITORING_ENABLED: false
volumes:
Expand Down
7 changes: 4 additions & 3 deletions integrations/docker/compose.manager-opensearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,13 @@ services:
condition: service_healthy
wazuh-certs-generator:
condition: service_completed_successfully
image: logstash-oss:${STACK_VERSION}
image: logstash-oss:${LOGSTASH_OSS_VERSION}
build:
dockerfile: ../elastic/Dockerfile
context: ../logstash
args:
- LOGSTASH_OSS_VERSION=${LOGSTASH_OSS_VERSION}
environment:
STACK_VERSION: ${STACK_VERSION}
LOGSTASH_OSS_VERSION: ${LOGSTASH_OSS_VERSION}
LOG_LEVEL: info
MONITORING_ENABLED: false
volumes:
Expand Down
3 changes: 2 additions & 1 deletion integrations/docker/compose.manager-splunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ services:
condition: service_completed_successfully
image: logstash-oss:${STACK_VERSION}
build:
dockerfile: ../logstash/Dockerfile
context: ../logstash
args:
- LOGSTASH_OSS_VERSION=${LOGSTASH_OSS_VERSION}
environment:
STACK_VERSION: ${STACK_VERSION}
LOG_LEVEL: info
Expand Down
3 changes: 2 additions & 1 deletion integrations/logstash/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM opensearchproject/logstash-oss-with-opensearch-output-plugin:latest
ARG LOGSTASH_OSS_VERSION
FROM opensearchproject/logstash-oss-with-opensearch-output-plugin:${LOGSTASH_OSS_VERSION}

ENV LOGSTASH_KEYSTORE_PASS "SecretPassword"
ENV LS_PATH "/usr/share/logstash"
Expand Down

0 comments on commit 88b4285

Please sign in to comment.