diff --git a/bitnami/logstash/8/debian-11/Dockerfile b/bitnami/logstash/8/debian-11/Dockerfile index 5606b47c8122..89fd109befa7 100644 --- a/bitnami/logstash/8/debian-11/Dockerfile +++ b/bitnami/logstash/8/debian-11/Dockerfile @@ -9,13 +9,13 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2023-12-13T09:53:54Z" \ + org.opencontainers.image.created="2024-01-11T19:01:08Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="8.11.3-debian-11-r0" \ + org.opencontainers.image.ref.name="8.11.4-debian-11-r0" \ org.opencontainers.image.title="logstash" \ org.opencontainers.image.vendor="VMware, Inc." \ - org.opencontainers.image.version="8.11.3" + org.opencontainers.image.version="8.11.4" ENV HOME="/" \ OS_ARCH="${TARGETARCH:-amd64}" \ @@ -29,8 +29,8 @@ RUN install_packages ca-certificates curl procps zlib1g RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ COMPONENTS=( \ "java-17.0.9-11-6-linux-${OS_ARCH}-debian-11" \ - "yq-4.40.5-0-linux-${OS_ARCH}-debian-11" \ - "logstash-8.11.3-0-linux-${OS_ARCH}-debian-11" \ + "yq-4.40.5-1-linux-${OS_ARCH}-debian-11" \ + "logstash-8.11.4-0-linux-${OS_ARCH}-debian-11" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ @@ -49,7 +49,7 @@ RUN chmod g+rwX /opt/bitnami COPY rootfs / RUN /opt/bitnami/scripts/java/postunpack.sh RUN /opt/bitnami/scripts/logstash/postunpack.sh -ENV APP_VERSION="8.11.3" \ +ENV APP_VERSION="8.11.4" \ BITNAMI_APP_NAME="logstash" \ JAVA_HOME="/opt/bitnami/java" \ PATH="/opt/bitnami/java/bin:/opt/bitnami/common/bin:/opt/bitnami/logstash/bin:$PATH" diff --git a/bitnami/logstash/8/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/logstash/8/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index 5fa3459385d0..f650a56f663c 100644 --- a/bitnami/logstash/8/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/logstash/8/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -9,12 +9,12 @@ "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "8.11.3-0" + "version": "8.11.4-0" }, "yq": { "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "4.40.5-0" + "version": "4.40.5-1" } } \ No newline at end of file diff --git a/bitnami/logstash/8/debian-11/prebuildfs/usr/sbin/run-script b/bitnami/logstash/8/debian-11/prebuildfs/usr/sbin/run-script index b7a5bf1e50bf..4ca0f897277e 100755 --- a/bitnami/logstash/8/debian-11/prebuildfs/usr/sbin/run-script +++ b/bitnami/logstash/8/debian-11/prebuildfs/usr/sbin/run-script @@ -10,7 +10,7 @@ fi script=$1 exit_code="${2:-96}" -fail_if_not_present="${3:-y}" +fail_if_not_present="${3:-n}" if test -f "$script"; then sh $script diff --git a/bitnami/logstash/8/debian-11/tags-info.yaml b/bitnami/logstash/8/debian-11/tags-info.yaml index ccb5c9eb732e..b45b18b152a4 100644 --- a/bitnami/logstash/8/debian-11/tags-info.yaml +++ b/bitnami/logstash/8/debian-11/tags-info.yaml @@ -1,5 +1,5 @@ rolling-tags: - "8" - 8-debian-11 -- 8.11.3 +- 8.11.4 - latest diff --git a/bitnami/logstash/README.md b/bitnami/logstash/README.md index 089f82562438..6c091cac380a 100644 --- a/bitnami/logstash/README.md +++ b/bitnami/logstash/README.md @@ -123,12 +123,60 @@ We can launch another containers using the same flag (`--network NETWORK`) in th ## Configuration -This container, by default, provides a very basic configuration for Logstash, that listen http on port 8080 and writes to stdout. +By default, this container provides a very basic configuration for Logstash, that listen http on port 8080 and writes to stdout. ```console docker run -d -p 8080:8080 bitnami/logstash:latest ``` +### Environment variables + +| Name | Description | Default Value | Can be set | +|-------------------------------------------|------------------------------------------------------------------------|--------------------------------------------------------------------|------------| +| `$LOGSTASH_BASE_DIR` | Logstash installation directory | `/opt/bitnami/logstash` | | +| `$LOGSTASH_CONF_DIR` | Logstash settings files directory | `${LOGSTASH_BASE_DIR}/config` | | +| `$LOGSTASH_PIPELINE_CONF_DIR` | Logstash pipeline configuration files directory | `${LOGSTASH_BASE_DIR}/pipeline` | | +| `$LOGSTASH_BIN_DIR` | Logstash executables directory | `${LOGSTASH_BASE_DIR}/bin` | | +| `$LOGSTASH_CONF_FILE` | Path to Logstash settings file | `${LOGSTASH_CONF_DIR}/logstash.yml` | | +| `$LOGSTASH_PIPELINE_CONF_FILENAME` | Logstash pipeline file name | `logstash.conf` | ✓ | +| `$LOGSTASH_PIPELINE_CONF_FILE` | Path to Logstash pipeline configuration file | `${LOGSTASH_PIPELINE_CONF_DIR}/${LOGSTASH_PIPELINE_CONF_FILENAME}` | | +| `$LOGSTASH_VOLUME_DIR` | Persistence base directory | `/bitnami/logstash` | | +| `$LOGSTASH_DATA_DIR` | Logstash data directory | `${LOGSTASH_VOLUME_DIR}/data` | | +| `$LOGSTASH_MOUNTED_CONF_DIR` | Directory where Logstash settings files will be mounted. | `${LOGSTASH_VOLUME_DIR}/config` | | +| `$LOGSTASH_MOUNTED_PIPELINE_CONF_DIR` | Directory where Logstash pipeline configuration files will be mounted. | `${LOGSTASH_VOLUME_DIR}/pipeline` | | +| `$LOGSTASH_LOGS_DIR` | Logstash logs directory | `${LOGSTASH_BASE_DIR}/logs` | | +| `$LOGSTASH_TMP_DIR` | Logstash directory for temporary files | `${LOGSTASH_BASE_DIR}/tmp` | | +| `$LOGSTASH_PID_FILE` | Logstash PID file | `${LOGSTASH_TMP_DIR}/logstash.pid` | | +| `$LOGSTASH_DAEMON_USER` | Logstash system user | `logstash` | | +| `$LOGSTASH_DAEMON_GROUP` | Logstash system group | `logstash` | | +| `$LOGSTASH_BIND_ADDRESS` | Logstash listen address | `0.0.0.0` | ✓ | +| `$LOGSTASH_EXPOSE_API` | Whether to expose the expose the Logstash API | `no` | ✓ | +| `$LOGSTASH_API_PORT_NUMBER` | Logstash API port number | `9600` | ✓ | +| `$LOGSTASH_PIPELINE_CONF_STRING` | Logstash pipeline configuration in a string | | ✓ | +| `$LOGSTASH_PLUGINS` | List of Logstash plugins to install | | ✓ | +| `$LOGSTASH_EXTRA_FLAGS` | Extra arguments for running the Logstash server | | ✓ | +| `$LOGSTASH_HEAP_SIZE` | Logstash heap size | `1024m` | ✓ | +| `$LOGSTASH_HEAP_SIZE` | Logstash heap size | | ✓ | +| `$LOGSTASH_MAX_ALLOWED_MEMORY_PERCENTAGE` | Logstash maximum allowed memory percentage | `100` | ✓ | +| `$LOGSTASH_MAX_ALLOWED_MEMORY` | Logstash maximum allowed memory amount (in megabytes) | | ✓ | +| `$LOGSTASH_ENABLE_MULTIPLE_PIPELINES` | Whether to enable multiple pipelines support | `no` | ✓ | +| `$LOGSTASH_ENABLE_BEATS_INPUT` | Whether to listen for incoming Beats connections | `no` | ✓ | +| `$LOGSTASH_BEATS_PORT_NUMBER` | Port number for listening to incoming Beats connections | `5044` | ✓ | +| `$LOGSTASH_ENABLE_GELF_INPUT` | Whether to listen for incoming Gelf connections | `no` | ✓ | +| `$LOGSTASH_GELF_PORT_NUMBER` | Port number for listening to incoming Beats connections | `12201` | ✓ | +| `$LOGSTASH_ENABLE_HTTP_INPUT` | Whether to listen for incoming HTTP connections | `yes` | ✓ | +| `$LOGSTASH_HTTP_PORT_NUMBER` | Port number for listening to incoming Beats connections | `8080` | ✓ | +| `$LOGSTASH_ENABLE_TCP_INPUT` | Whether to listen for incoming TDP connections | `no` | ✓ | +| `$LOGSTASH_TCP_PORT_NUMBER` | Port number for listening to incoming TCP connections | `5010` | ✓ | +| `$LOGSTASH_ENABLE_UDP_INPUT` | Whether to listen for incoming UDP connections | `no` | ✓ | +| `$LOGSTASH_UDP_PORT_NUMBER` | Port number for listening to incoming UDP connections | `5000` | ✓ | +| `$LOGSTASH_ENABLE_STDOUT_OUTPUT` | Whether to output to an Elasticsearch server | `yes` | ✓ | +| `$LOGSTASH_ENABLE_ELASTICSEARCH_OUTPUT` | Whether to output to an Elasticsearch server | `no` | ✓ | +| `$LOGSTASH_ELASTICSEARCH_HOST` | Elasticsearch server hostname | `elasticsearch` | ✓ | +| `$LOGSTASH_ELASTICSEARCH_PORT_NUMBER` | Elasticsearch server port | `9200` | ✓ | +| `$JAVA_HOME` | Java installation folder. | `${BITNAMI_ROOT_DIR}/java` | | + + ### Using a configuration string For simple configurations, you specify it using the `LOGSTASH_CONF_STRING` environment variable: