logprocessor-logstash-oss (sha256:64162534dfda186c9ab174ff1167db97f6939b9982eb5771e414e55eaced2197)
Published 2024-06-28 10:15:35 +00:00 by effective-cibot
Installation
docker pull git.net23.de/effective-cybersec/logprocessor-logstash-oss@sha256:64162534dfda186c9ab174ff1167db97f6939b9982eb5771e414e55eaced2197sha256:64162534dfda186c9ab174ff1167db97f6939b9982eb5771e414e55eaced2197About this package
Logstash is a free and open server-side data processing pipeline that ingests data from a multitude of sources, transforms it, and then sends it to your favorite 'stash.'
Image layers
| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=20.04 |
| ADD file:e7cff353f027ecf0a2cb1cdd51714de3b083a11a0d965f104489f9a7e6925056 in / |
| CMD ["/bin/bash"] |
| RUN /bin/sh -c for iter in {1..10}; do export DEBIAN_FRONTEND=noninteractive && apt-get update -y && apt-get upgrade -y && apt-get install -y procps findutils tar gzip && apt-get install -y locales && apt-get install -y curl && apt-get clean all && locale-gen 'en_US.UTF-8' && apt-get clean metadata && exit_code=0 && break || exit_code=$? && echo "packaging error: retry $iter in 10s" && apt-get clean all && apt-get clean metadata && sleep 10; done; (exit $exit_code) # buildkit |
| RUN /bin/sh -c groupadd --gid 1000 logstash && adduser --uid 1000 --gid 1000 --home /usr/share/logstash --no-create-home logstash # buildkit |
| RUN /bin/sh -c curl -Lo - http://localhost:8000/logstash-oss-8.14.1-linux-$(arch).tar.gz | tar zxf - -C /usr/share && mv /usr/share/logstash-8.14.1 /usr/share/logstash && chown --recursive logstash:logstash /usr/share/logstash/ && chown -R logstash:root /usr/share/logstash && chmod -R g=u /usr/share/logstash && mkdir /licenses/ && mv /usr/share/logstash/NOTICE.TXT /licenses/NOTICE.TXT && mv /usr/share/logstash/LICENSE.txt /licenses/LICENSE.txt && find /usr/share/logstash -type d -exec chmod g+s {} \; && ln -s /usr/share/logstash /opt/logstash # buildkit |
| WORKDIR /usr/share/logstash |
| ENV ELASTIC_CONTAINER=true |
| ENV PATH=/usr/share/logstash/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| COPY config/logstash-oss.yml config/logstash.yml # buildkit |
| COPY config/pipelines.yml config/log4j2.properties config/log4j2.file.properties config/ # buildkit |
| COPY pipeline/default.conf pipeline/logstash.conf # buildkit |
| COPY env2yaml/env2yaml-amd64 env2yaml/env2yaml-arm64 env2yaml/ # buildkit |
| RUN /bin/sh -c chown --recursive logstash:root config/ pipeline/ # buildkit |
| ENV LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 |
| RUN /bin/sh -c env2yamlarch="$(dpkg --print-architecture)"; case "${env2yamlarch}" in 'x86_64'|'amd64') env2yamlarch=amd64; ;; 'aarch64'|'arm64') env2yamlarch=arm64; ;; *) echo >&2 "error: unsupported architecture '$env2yamlarch'"; exit 1 ;; esac; cp env2yaml/env2yaml-${env2yamlarch} /usr/local/bin/env2yaml; rm -rf env2yaml # buildkit |
| COPY bin/docker-entrypoint /usr/local/bin/ # buildkit |
| RUN /bin/sh -c chmod 0755 /usr/local/bin/docker-entrypoint # buildkit |
| USER 1000 |
| EXPOSE map[5044/tcp:{} 9600/tcp:{}] |
| LABEL org.label-schema.schema-version=1.0 org.label-schema.vendor=Elastic org.opencontainers.image.vendor=Elastic org.label-schema.name=logstash org.opencontainers.image.title=logstash org.label-schema.version=8.14.1 org.opencontainers.image.version=8.14.1 org.label-schema.url=https://www.elastic.co/products/logstash org.label-schema.vcs-url=https://github.com/elastic/logstash org.label-schema.license=Apache 2.0 org.opencontainers.image.licenses=Apache 2.0 org.opencontainers.image.description=Logstash is a free and open server-side data processing pipeline that ingests data from a multitude of sources, transforms it, and then sends it to your favorite 'stash.' org.label-schema.build-date=2024-06-10T18:23:06+00:00 org.opencontainers.image.created=2024-06-10T18:23:06+00:00 |
| ENTRYPOINT ["/usr/local/bin/docker-entrypoint"] |
| USER root |
| RUN /bin/sh -c apt install netbase -y # buildkit |
| USER logstash |
| RUN /bin/sh -c logstash-plugin install --version 2.0.2 logstash-output-opensearch # buildkit |
| RUN /bin/sh -c logstash-plugin install --version 1.0.5 logstash-filter-rediss # buildkit |
| RUN /bin/sh -c logstash-plugin install --version 0.1.0 logstash-filter-combine # buildkit |
| RUN /bin/sh -c logstash-plugin install --version 0.1.1 logstash-filter-linelookup # buildkit |
| RUN /bin/sh -c logstash-plugin install --version 0.1.0 logstash-filter-sanitize_mac # buildkit |
| RUN /bin/sh -c mkdir /usr/share/logstash/geoip /usr/share/logstash/lookups # buildkit |
| COPY /nums/iana_numbers.csv /usr/share/logstash/iana_numbers.csv # buildkit |
Labels
| Key | Value |
|---|---|
| org.label-schema.build-date | 2024-06-10T18:23:06+00:00 |
| org.label-schema.license | Apache 2.0 |
| org.label-schema.name | logstash |
| org.label-schema.schema-version | 1.0 |
| org.label-schema.url | https://www.elastic.co/products/logstash |
| org.label-schema.vcs-url | https://github.com/elastic/logstash |
| org.label-schema.vendor | Elastic |
| org.label-schema.version | 8.14.1 |
| org.opencontainers.image.created | 2024-06-28T10:06:38Z |
| org.opencontainers.image.description | Logstash is a free and open server-side data processing pipeline that ingests data from a multitude of sources, transforms it, and then sends it to your favorite 'stash.' |
| org.opencontainers.image.licenses | Apache 2.0 |
| org.opencontainers.image.ref.name | ubuntu |
| org.opencontainers.image.revision | 02ec81e4dbd1a5b5e6130c7db70708a3780e6d5c |
| org.opencontainers.image.source | https://git.net23.de/effective-cybersec/OSSecOps-logprocessor.git |
| org.opencontainers.image.title | logstash |
| org.opencontainers.image.url | https://git.net23.de/effective-cybersec/OSSecOps-logprocessor |
| org.opencontainers.image.vendor | Elastic |
| org.opencontainers.image.version | 8.14.1 |
Details
2024-06-28 10:15:35 +00:00
Versions (12)
View all
Container
5
OCI / Docker
linux/amd64
Apache 2.0
540 MiB
latest
2024-07-13
8.14.1-0d42b72252
2024-07-13
8.14.1-998d0a117e
2024-07-09
8.14.1-02ec81e4db
2024-06-28
8.14.1-469bb92f6f
2024-06-28