From 0086cd20baaeb88505f6029d72a1a4fd66d849d7 Mon Sep 17 00:00:00 2001 From: Nassim Kammah Date: Fri, 6 Mar 2020 14:16:03 +0100 Subject: [PATCH 1/3] Filebeat 7.6.1 release See full [release notes](https://www.elastic.co/guide/en/beats/libbeat/7.6/release-notes-7.6.1.html). DCAR submissions changes : copy Elastic license into the container filesystem. --- 7.6.1/Dockerfile | 58 ++++++++++ 7.6.1/Jenkinsfile | 2 + 7.6.1/LICENSE | 223 ++++++++++++++++++++++++++++++++++++ 7.6.1/README.md | 34 ++++++ 7.6.1/bin/docker-entrypoint | 25 ++++ 7.6.1/download.json | 12 ++ 6 files changed, 354 insertions(+) create mode 100644 7.6.1/Dockerfile create mode 100644 7.6.1/Jenkinsfile create mode 100644 7.6.1/LICENSE create mode 100644 7.6.1/README.md create mode 100644 7.6.1/bin/docker-entrypoint create mode 100644 7.6.1/download.json diff --git a/7.6.1/Dockerfile b/7.6.1/Dockerfile new file mode 100644 index 0000000..7f6add1 --- /dev/null +++ b/7.6.1/Dockerfile @@ -0,0 +1,58 @@ +ARG BASE_REGISTRY=registry.access.redhat.com +ARG BASE_IMAGE=ubi8/ubi +ARG BASE_TAG=8.1 + +FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} + +ARG TARBALL=filebeat-7.6.1-linux-x86_64.tar.gz + +WORKDIR /opt + +COPY LICENSE /licenses/elastic-filebeat + +COPY ${TARBALL} /opt/ + +RUN tar -zxf ./${TARBALL} && rm -fv ./${TARBALL} && \ + mv filebeat-7.6.1-linux-x86_64 /usr/share/filebeat && \ + rm -rfv /opt/* + +ENV ELASTIC_CONTAINER "true" + +ENV PATH=/usr/share/filebeat:$PATH + +COPY bin/docker-entrypoint /usr/local/bin/docker-entrypoint + +RUN chmod 755 /usr/local/bin/docker-entrypoint + +RUN groupadd --gid 1000 filebeat + +RUN mkdir /usr/share/filebeat/data /usr/share/filebeat/logs && \ + chown -R root:filebeat /usr/share/filebeat && \ + find /usr/share/filebeat -type d -exec chmod 0750 {} \; && \ + find /usr/share/filebeat -type f -exec chmod 0640 {} \; && \ + chmod 0750 /usr/share/filebeat/filebeat && \ + chmod 0770 /usr/share/filebeat/modules.d && \ + chmod 0770 /usr/share/filebeat/data /usr/share/filebeat/logs + +RUN useradd -M --uid 1000 --gid 1000 --home /usr/share/filebeat filebeat + +USER filebeat + +WORKDIR /usr/share/filebeat + +LABEL \ + org.label-schema.schema-version="1.0" \ + org.label-schema.vendor="Elastic" \ + org.label-schema.name="filebeat" \ + org.label-schema.version="7.6.1" \ + org.label-schema.url="https://www.elastic.co/products/beats/filebeat" \ + org.label-schema.vcs-url="github.com/elastic/beats" \ + org.label-schema.vcs-ref="7f4c584b574acdcb5db389df6d38012c881f6fad" \ + license="ASL 2.0" \ + description="Filebeat sends log files to Logstash or directly to Elasticsearch." + +ENTRYPOINT ["/usr/local/bin/docker-entrypoint"] + +CMD ["-environment", "container"] + +HEALTHCHECK --interval=10s --timeout=5s --start-period=1m --retries=5 CMD curl -I -f --max-time 5 http://localhost:5066 || exit 1 diff --git a/7.6.1/Jenkinsfile b/7.6.1/Jenkinsfile new file mode 100644 index 0000000..1e590cb --- /dev/null +++ b/7.6.1/Jenkinsfile @@ -0,0 +1,2 @@ +@Library('DCCSCR@master') _ +dccscrPipeline() diff --git a/7.6.1/LICENSE b/7.6.1/LICENSE new file mode 100644 index 0000000..7376ffc --- /dev/null +++ b/7.6.1/LICENSE @@ -0,0 +1,223 @@ +ELASTIC LICENSE AGREEMENT + +PLEASE READ CAREFULLY THIS ELASTIC LICENSE AGREEMENT (THIS "AGREEMENT"), WHICH +CONSTITUTES A LEGALLY BINDING AGREEMENT AND GOVERNS ALL OF YOUR USE OF ALL OF +THE ELASTIC SOFTWARE WITH WHICH THIS AGREEMENT IS INCLUDED ("ELASTIC SOFTWARE") +THAT IS PROVIDED IN OBJECT CODE FORMAT, AND, IN ACCORDANCE WITH SECTION 2 BELOW, +CERTAIN OF THE ELASTIC SOFTWARE THAT IS PROVIDED IN SOURCE CODE FORMAT. BY +INSTALLING OR USING ANY OF THE ELASTIC SOFTWARE GOVERNED BY THIS AGREEMENT, YOU +ARE ASSENTING TO THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE +WITH SUCH TERMS AND CONDITIONS, YOU MAY NOT INSTALL OR USE THE ELASTIC SOFTWARE +GOVERNED BY THIS AGREEMENT. IF YOU ARE INSTALLING OR USING THE SOFTWARE ON +BEHALF OF A LEGAL ENTITY, YOU REPRESENT AND WARRANT THAT YOU HAVE THE ACTUAL +AUTHORITY TO AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT ON BEHALF OF +SUCH ENTITY. + +Posted Date: April 20, 2018 + +This Agreement is entered into by and between Elasticsearch BV ("Elastic") and +You, or the legal entity on behalf of whom You are acting (as applicable, +"You"). + +1. OBJECT CODE END USER LICENSES, RESTRICTIONS AND THIRD PARTY OPEN SOURCE +SOFTWARE + + 1.1 Object Code End User License. Subject to the terms and conditions of + Section 1.2 of this Agreement, Elastic hereby grants to You, AT NO CHARGE and + for so long as you are not in breach of any provision of this Agreement, a + License to the Basic Features and Functions of the Elastic Software. + + 1.2 Reservation of Rights; Restrictions. As between Elastic and You, Elastic + and its licensors own all right, title and interest in and to the Elastic + Software, and except as expressly set forth in Sections 1.1, and 2.1 of this + Agreement, no other license to the Elastic Software is granted to You under + this Agreement, by implication, estoppel or otherwise. You agree not to: (i) + reverse engineer or decompile, decrypt, disassemble or otherwise reduce any + Elastic Software provided to You in Object Code, or any portion thereof, to + Source Code, except and only to the extent any such restriction is prohibited + by applicable law, (ii) except as expressly permitted in this Agreement, + prepare derivative works from, modify, copy or use the Elastic Software Object + Code or the Commercial Software Source Code in any manner; (iii) except as + expressly permitted in Section 1.1 above, transfer, sell, rent, lease, + distribute, sublicense, loan or otherwise transfer, Elastic Software Object + Code, in whole or in part, to any third party; (iv) use Elastic Software + Object Code for providing time-sharing services, any software-as-a-service, + service bureau services or as part of an application services provider or + other service offering (collectively, "SaaS Offering") where obtaining access + to the Elastic Software or the features and functions of the Elastic Software + is a primary reason or substantial motivation for users of the SaaS Offering + to access and/or use the SaaS Offering ("Prohibited SaaS Offering"); (v) + circumvent the limitations on use of Elastic Software provided to You in + Object Code format that are imposed or preserved by any License Key, or (vi) + alter or remove any Marks and Notices in the Elastic Software. If You have any + question as to whether a specific SaaS Offering constitutes a Prohibited SaaS + Offering, or are interested in obtaining Elastic's permission to engage in + commercial or non-commercial distribution of the Elastic Software, please + contact elastic_license@elastic.co. + + 1.3 Third Party Open Source Software. The Commercial Software may contain or + be provided with third party open source libraries, components, utilities and + other open source software (collectively, "Open Source Software"), which Open + Source Software may have applicable license terms as identified on a website + designated by Elastic. Notwithstanding anything to the contrary herein, use of + the Open Source Software shall be subject to the license terms and conditions + applicable to such Open Source Software, to the extent required by the + applicable licensor (which terms shall not restrict the license rights granted + to You hereunder, but may contain additional rights). To the extent any + condition of this Agreement conflicts with any license to the Open Source + Software, the Open Source Software license will govern with respect to such + Open Source Software only. Elastic may also separately provide you with + certain open source software that is licensed by Elastic. Your use of such + Elastic open source software will not be governed by this Agreement, but by + the applicable open source license terms. + +2. COMMERCIAL SOFTWARE SOURCE CODE + + 2.1 Limited License. Subject to the terms and conditions of Section 2.2 of + this Agreement, Elastic hereby grants to You, AT NO CHARGE and for so long as + you are not in breach of any provision of this Agreement, a limited, + non-exclusive, non-transferable, fully paid up royalty free right and license + to the Commercial Software in Source Code format, without the right to grant + or authorize sublicenses, to prepare Derivative Works of the Commercial + Software, provided You (i) do not hack the licensing mechanism, or otherwise + circumvent the intended limitations on the use of Elastic Software to enable + features other than Basic Features and Functions or those features You are + entitled to as part of a Subscription, and (ii) use the resulting object code + only for reasonable testing purposes. + + 2.2 Restrictions. Nothing in Section 2.1 grants You the right to (i) use the + Commercial Software Source Code other than in accordance with Section 2.1 + above, (ii) use a Derivative Work of the Commercial Software outside of a + Non-production Environment, in any production capacity, on a temporary or + permanent basis, or (iii) transfer, sell, rent, lease, distribute, sublicense, + loan or otherwise make available the Commercial Software Source Code, in whole + or in part, to any third party. Notwithstanding the foregoing, You may + maintain a copy of the repository in which the Source Code of the Commercial + Software resides and that copy may be publicly accessible, provided that you + include this Agreement with Your copy of the repository. + +3. TERMINATION + + 3.1 Termination. This Agreement will automatically terminate, whether or not + You receive notice of such Termination from Elastic, if You breach any of its + provisions. + + 3.2 Post Termination. Upon any termination of this Agreement, for any reason, + You shall promptly cease the use of the Elastic Software in Object Code format + and cease use of the Commercial Software in Source Code format. For the + avoidance of doubt, termination of this Agreement will not affect Your right + to use Elastic Software, in either Object Code or Source Code formats, made + available under the Apache License Version 2.0. + + 3.3 Survival. Sections 1.2, 2.2. 3.3, 4 and 5 shall survive any termination or + expiration of this Agreement. + +4. DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY + + 4.1 Disclaimer of Warranties. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE + LAW, THE ELASTIC SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + AND ELASTIC AND ITS LICENSORS MAKE NO WARRANTIES WHETHER EXPRESSED, IMPLIED OR + STATUTORY REGARDING OR RELATING TO THE ELASTIC SOFTWARE. TO THE MAXIMUM EXTENT + PERMITTED UNDER APPLICABLE LAW, ELASTIC AND ITS LICENSORS SPECIFICALLY + DISCLAIM ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE AND NON-INFRINGEMENT WITH RESPECT TO THE ELASTIC SOFTWARE, AND WITH + RESPECT TO THE USE OF THE FOREGOING. FURTHER, ELASTIC DOES NOT WARRANT RESULTS + OF USE OR THAT THE ELASTIC SOFTWARE WILL BE ERROR FREE OR THAT THE USE OF THE + ELASTIC SOFTWARE WILL BE UNINTERRUPTED. + + 4.2 Limitation of Liability. IN NO EVENT SHALL ELASTIC OR ITS LICENSORS BE + LIABLE TO YOU OR ANY THIRD PARTY FOR ANY DIRECT OR INDIRECT DAMAGES, + INCLUDING, WITHOUT LIMITATION, FOR ANY LOSS OF PROFITS, LOSS OF USE, BUSINESS + INTERRUPTION, LOSS OF DATA, COST OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY + SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND, IN CONNECTION WITH + OR ARISING OUT OF THE USE OR INABILITY TO USE THE ELASTIC SOFTWARE, OR THE + PERFORMANCE OF OR FAILURE TO PERFORM THIS AGREEMENT, WHETHER ALLEGED AS A + BREACH OF CONTRACT OR TORTIOUS CONDUCT, INCLUDING NEGLIGENCE, EVEN IF ELASTIC + HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +5. MISCELLANEOUS + + This Agreement completely and exclusively states the entire agreement of the + parties regarding the subject matter herein, and it supersedes, and its terms + govern, all prior proposals, agreements, or other communications between the + parties, oral or written, regarding such subject matter. This Agreement may be + modified by Elastic from time to time, and any such modifications will be + effective upon the "Posted Date" set forth at the top of the modified + Agreement. If any provision hereof is held unenforceable, this Agreement will + continue without said provision and be interpreted to reflect the original + intent of the parties. This Agreement and any non-contractual obligation + arising out of or in connection with it, is governed exclusively by Dutch law. + This Agreement shall not be governed by the 1980 UN Convention on Contracts + for the International Sale of Goods. All disputes arising out of or in + connection with this Agreement, including its existence and validity, shall be + resolved by the courts with jurisdiction in Amsterdam, The Netherlands, except + where mandatory law provides for the courts at another location in The + Netherlands to have jurisdiction. The parties hereby irrevocably waive any and + all claims and defenses either might otherwise have in any such action or + proceeding in any of such courts based upon any alleged lack of personal + jurisdiction, improper venue, forum non conveniens or any similar claim or + defense. A breach or threatened breach, by You of Section 2 may cause + irreparable harm for which damages at law may not provide adequate relief, and + therefore Elastic shall be entitled to seek injunctive relief without being + required to post a bond. You may not assign this Agreement (including by + operation of law in connection with a merger or acquisition), in whole or in + part to any third party without the prior written consent of Elastic, which + may be withheld or granted by Elastic in its sole and absolute discretion. + Any assignment in violation of the preceding sentence is void. Notices to + Elastic may also be sent to legal@elastic.co. + +6. DEFINITIONS + + The following terms have the meanings ascribed: + + 6.1 "Affiliate" means, with respect to a party, any entity that controls, is + controlled by, or which is under common control with, such party, where + "control" means ownership of at least fifty percent (50%) of the outstanding + voting shares of the entity, or the contractual right to establish policy for, + and manage the operations of, the entity. + + 6.2 "Basic Features and Functions" means those features and functions of the + Elastic Software that are eligible for use under a Basic license, as set forth + at https://www.elastic.co/subscriptions, as may be modified by Elastic from + time to time. + + 6.3 "Commercial Software" means the Elastic Software Source Code in any file + containing a header stating the contents are subject to the Elastic License or + which is contained in the repository folder labeled "x-pack", unless a LICENSE + file present in the directory subtree declares a different license. + + 6.4 "Derivative Work of the Commercial Software" means, for purposes of this + Agreement, any modification(s) or enhancement(s) to the Commercial Software, + which represent, as a whole, an original work of authorship. + + 6.5 "License" means a limited, non-exclusive, non-transferable, fully paid up, + royalty free, right and license, without the right to grant or authorize + sublicenses, solely for Your internal business operations to (i) install and + use the applicable Features and Functions of the Elastic Software in Object + Code, and (ii) permit Contractors and Your Affiliates to use the Elastic + software as set forth in (i) above, provided that such use by Contractors must + be solely for Your benefit and/or the benefit of Your Affiliates, and You + shall be responsible for all acts and omissions of such Contractors and + Affiliates in connection with their use of the Elastic software that are + contrary to the terms and conditions of this Agreement. + + 6.6 "License Key" means a sequence of bytes, including but not limited to a + JSON blob, that is used to enable certain features and functions of the + Elastic Software. + + 6.7 "Marks and Notices" means all Elastic trademarks, trade names, logos and + notices present on the Documentation as originally provided by Elastic. + + 6.8 "Non-production Environment" means an environment for development, testing + or quality assurance, where software is not used for production purposes. + + 6.9 "Object Code" means any form resulting from mechanical transformation or + translation of Source Code form, including but not limited to compiled object + code, generated documentation, and conversions to other media types. + + 6.10 "Source Code" means the preferred form of computer software for making + modifications, including but not limited to software source code, + documentation source, and configuration files. + + 6.11 "Subscription" means the right to receive Support Services and a License + to the Commercial Software. diff --git a/7.6.1/README.md b/7.6.1/README.md new file mode 100644 index 0000000..33e0052 --- /dev/null +++ b/7.6.1/README.md @@ -0,0 +1,34 @@ +# Welcome to Filebeat 7.6.1 + +Filebeat sends log files to Logstash or directly to Elasticsearch. + +## Getting Started + +To get started with Filebeat, you need to set up Elasticsearch on +your localhost first. After that, start Filebeat with: + + ./filebeat -c filebeat.yml -e + +This will start Filebeat and send the data to your Elasticsearch +instance. To load the dashboards for Filebeat into Kibana, run: + + ./filebeat setup -e + +For further steps visit the +[Getting started](https://www.elastic.co/guide/en/beats/filebeat/7.6/filebeat-getting-started.html) guide. + +## Configuration + +Make sure you enable the http monitoring for the healtcheck to work, either via config or when launching your container. + + http.enabled=true + + +## Documentation + +Visit [Elastic.co Docs](https://www.elastic.co/guide/en/beats/filebeat/7.6/index.html) +for the full Filebeat documentation. + +## Release notes + +https://www.elastic.co/guide/en/beats/libbeat/7.6/release-notes-7.6.1.html diff --git a/7.6.1/bin/docker-entrypoint b/7.6.1/bin/docker-entrypoint new file mode 100644 index 0000000..e501637 --- /dev/null +++ b/7.6.1/bin/docker-entrypoint @@ -0,0 +1,25 @@ +#!/bin/bash + +set -euo pipefail + +# Check if the the user has invoked the image with flags. +# eg. "filebeat -c filebeat.yml" +if [[ -z $1 ]] || [[ ${1:0:1} == '-' ]] ; then + exec filebeat "$@" +else + # They may be looking for a Beat subcommand, like "filebeat setup". + subcommands=$(filebeat help \ + | awk 'BEGIN {RS=""; FS="\n"} /Available Commands:/' \ + | awk '/^\s+/ {print $1}') + + # If we _did_ get a subcommand, pass it to filebeat. + for subcommand in $subcommands; do + if [[ $1 == $subcommand ]]; then + exec filebeat "$@" + fi + done +fi + +# If neither of those worked, then they have specified the binary they want, so +# just do exactly as they say. +exec "$@" diff --git a/7.6.1/download.json b/7.6.1/download.json new file mode 100644 index 0000000..0eef55d --- /dev/null +++ b/7.6.1/download.json @@ -0,0 +1,12 @@ +{ + "resources": [ + { + "url": "https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-7.6.1-linux-x86_64.tar.gz", + "filename": "filebeat-7.6.1-linux-x86_64.tar.gz", + "validation": { + "type": "sha512", + "value": "62929de8c5ed8868c481cf5f3fe0fe194558cd1536fe2461f029a66bc873ba529173900afceca8abd5a2baed300563eaa40bb223341b6abb2baa97b56a8ead3d" + } + } + ] +} -- GitLab From 81f54815580c1b9071bb3952b5bd3c9dd819101b Mon Sep 17 00:00:00 2001 From: Nassim Kammah Date: Fri, 6 Mar 2020 22:53:47 +0100 Subject: [PATCH 2/3] updating sha512 to 7.6.1 --- 7.6.1/download.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/7.6.1/download.json b/7.6.1/download.json index 0eef55d..7439269 100644 --- a/7.6.1/download.json +++ b/7.6.1/download.json @@ -5,7 +5,7 @@ "filename": "filebeat-7.6.1-linux-x86_64.tar.gz", "validation": { "type": "sha512", - "value": "62929de8c5ed8868c481cf5f3fe0fe194558cd1536fe2461f029a66bc873ba529173900afceca8abd5a2baed300563eaa40bb223341b6abb2baa97b56a8ead3d" + "value": "887edb2ab255084ef96dbc4c7c047bfa92dad16f263e23c0fcc80120ea5aca90a3a7a44d4783ba37b135dac76618971272a591ab4a24997d8ad40c7bc23ffabf" } } ] -- GitLab From 4e8a4c998ee8320862ad9ec428974d31a2f50f66 Mon Sep 17 00:00:00 2001 From: Nassim Kammah Date: Mon, 9 Mar 2020 17:55:54 +0100 Subject: [PATCH 3/3] Moving the contents of the 7.6.1/ directory to the project root and deleting old other versions dir. --- 7.5.1/Dockerfile | 56 ------- 7.5.1/LICENSE.txt | 223 --------------------------- 7.5.1/README.md | 34 ---- 7.5.1/scripts/prebuild.sh | 53 ------- 7.6.0/Dockerfile | 56 ------- 7.6.0/LICENSE.txt | 223 --------------------------- 7.6.0/README.md | 34 ---- 7.6.0/bin/docker-entrypoint | 25 --- 7.6.0/download.json | 12 -- 7.6.1/Jenkinsfile | 2 - 7.6.1/README.md | 34 ---- 7.6.1/bin/docker-entrypoint | 25 --- 7.6.1/Dockerfile => Dockerfile | 0 7.6.0/Jenkinsfile => Jenkinsfile | 0 7.6.1/LICENSE => LICENSE | 0 README.md | 34 +++- {7.5.1/bin => bin}/docker-entrypoint | 0 7.6.1/download.json => download.json | 0 18 files changed, 33 insertions(+), 778 deletions(-) delete mode 100644 7.5.1/Dockerfile delete mode 100644 7.5.1/LICENSE.txt delete mode 100644 7.5.1/README.md delete mode 100755 7.5.1/scripts/prebuild.sh delete mode 100644 7.6.0/Dockerfile delete mode 100644 7.6.0/LICENSE.txt delete mode 100644 7.6.0/README.md delete mode 100644 7.6.0/bin/docker-entrypoint delete mode 100644 7.6.0/download.json delete mode 100644 7.6.1/Jenkinsfile delete mode 100644 7.6.1/README.md delete mode 100644 7.6.1/bin/docker-entrypoint rename 7.6.1/Dockerfile => Dockerfile (100%) rename 7.6.0/Jenkinsfile => Jenkinsfile (100%) rename 7.6.1/LICENSE => LICENSE (100%) rename {7.5.1/bin => bin}/docker-entrypoint (100%) rename 7.6.1/download.json => download.json (100%) diff --git a/7.5.1/Dockerfile b/7.5.1/Dockerfile deleted file mode 100644 index 7cff517..0000000 --- a/7.5.1/Dockerfile +++ /dev/null @@ -1,56 +0,0 @@ -ARG BASE_REGISTRY=registry.access.redhat.com -ARG BASE_IMAGE=ubi7/ubi -ARG BASE_TAG=7.7 - -FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} - -ARG NEXUS_SCHEME=https -ARG NEXUS_SERVER=${NEXUS_SERVER} -ARG NEXUS_USERNAME=${NEXUS_USERNAME} -ARG NEXUS_PASSWORD=${NEXUS_PASSWORD} - - -RUN curl --retry 8 -s -k -fu ${NEXUS_USERNAME}:${NEXUS_PASSWORD} -Lo - ${NEXUS_SCHEME}://${NEXUS_SERVER}/repository/dsop/elastic/beats/filebeat/7.5.1/filebeat-7.5.1-linux-x86_64.tar.gz | \ - tar zxf - -C /usr/share && \ - mv /usr/share/filebeat-7.5.1-linux-x86_64 /usr/share/filebeat - -ENV ELASTIC_CONTAINER "true" - -ENV PATH=/usr/share/filebeat:$PATH - -COPY bin/docker-entrypoint /usr/local/bin/docker-entrypoint - -RUN chmod 755 /usr/local/bin/docker-entrypoint - -RUN groupadd --gid 1000 filebeat - -RUN mkdir /usr/share/filebeat/data /usr/share/filebeat/logs && \ - chown -R root:filebeat /usr/share/filebeat && \ - find /usr/share/filebeat -type d -exec chmod 0750 {} \; && \ - find /usr/share/filebeat -type f -exec chmod 0640 {} \; && \ - chmod 0750 /usr/share/filebeat/filebeat && \ - chmod 0770 /usr/share/filebeat/modules.d && \ - chmod 0770 /usr/share/filebeat/data /usr/share/filebeat/logs - -RUN useradd -M --uid 1000 --gid 1000 --home /usr/share/filebeat filebeat - -USER filebeat - -WORKDIR /usr/share/filebeat - -LABEL \ - org.label-schema.schema-version="1.0" \ - org.label-schema.vendor="Elastic" \ - org.label-schema.name="filebeat" \ - org.label-schema.version="7.5.1" \ - org.label-schema.url="https://www.elastic.co/products/beats/filebeat" \ - org.label-schema.vcs-url="github.com/elastic/beats" \ - org.label-schema.vcs-ref="7f4c584b574acdcb5db389df6d38012c881f6fad" \ - license="ASL 2.0" \ - description="Filebeat sends log files to Logstash or directly to Elasticsearch." - -ENTRYPOINT ["/usr/local/bin/docker-entrypoint"] - -CMD ["-e"] - -HEALTHCHECK --interval=10s --timeout=5s --start-period=1m --retries=5 CMD curl -I -f --max-time 5 http://localhost:5066 || exit 1 diff --git a/7.5.1/LICENSE.txt b/7.5.1/LICENSE.txt deleted file mode 100644 index 7376ffc..0000000 --- a/7.5.1/LICENSE.txt +++ /dev/null @@ -1,223 +0,0 @@ -ELASTIC LICENSE AGREEMENT - -PLEASE READ CAREFULLY THIS ELASTIC LICENSE AGREEMENT (THIS "AGREEMENT"), WHICH -CONSTITUTES A LEGALLY BINDING AGREEMENT AND GOVERNS ALL OF YOUR USE OF ALL OF -THE ELASTIC SOFTWARE WITH WHICH THIS AGREEMENT IS INCLUDED ("ELASTIC SOFTWARE") -THAT IS PROVIDED IN OBJECT CODE FORMAT, AND, IN ACCORDANCE WITH SECTION 2 BELOW, -CERTAIN OF THE ELASTIC SOFTWARE THAT IS PROVIDED IN SOURCE CODE FORMAT. BY -INSTALLING OR USING ANY OF THE ELASTIC SOFTWARE GOVERNED BY THIS AGREEMENT, YOU -ARE ASSENTING TO THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE -WITH SUCH TERMS AND CONDITIONS, YOU MAY NOT INSTALL OR USE THE ELASTIC SOFTWARE -GOVERNED BY THIS AGREEMENT. IF YOU ARE INSTALLING OR USING THE SOFTWARE ON -BEHALF OF A LEGAL ENTITY, YOU REPRESENT AND WARRANT THAT YOU HAVE THE ACTUAL -AUTHORITY TO AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT ON BEHALF OF -SUCH ENTITY. - -Posted Date: April 20, 2018 - -This Agreement is entered into by and between Elasticsearch BV ("Elastic") and -You, or the legal entity on behalf of whom You are acting (as applicable, -"You"). - -1. OBJECT CODE END USER LICENSES, RESTRICTIONS AND THIRD PARTY OPEN SOURCE -SOFTWARE - - 1.1 Object Code End User License. Subject to the terms and conditions of - Section 1.2 of this Agreement, Elastic hereby grants to You, AT NO CHARGE and - for so long as you are not in breach of any provision of this Agreement, a - License to the Basic Features and Functions of the Elastic Software. - - 1.2 Reservation of Rights; Restrictions. As between Elastic and You, Elastic - and its licensors own all right, title and interest in and to the Elastic - Software, and except as expressly set forth in Sections 1.1, and 2.1 of this - Agreement, no other license to the Elastic Software is granted to You under - this Agreement, by implication, estoppel or otherwise. You agree not to: (i) - reverse engineer or decompile, decrypt, disassemble or otherwise reduce any - Elastic Software provided to You in Object Code, or any portion thereof, to - Source Code, except and only to the extent any such restriction is prohibited - by applicable law, (ii) except as expressly permitted in this Agreement, - prepare derivative works from, modify, copy or use the Elastic Software Object - Code or the Commercial Software Source Code in any manner; (iii) except as - expressly permitted in Section 1.1 above, transfer, sell, rent, lease, - distribute, sublicense, loan or otherwise transfer, Elastic Software Object - Code, in whole or in part, to any third party; (iv) use Elastic Software - Object Code for providing time-sharing services, any software-as-a-service, - service bureau services or as part of an application services provider or - other service offering (collectively, "SaaS Offering") where obtaining access - to the Elastic Software or the features and functions of the Elastic Software - is a primary reason or substantial motivation for users of the SaaS Offering - to access and/or use the SaaS Offering ("Prohibited SaaS Offering"); (v) - circumvent the limitations on use of Elastic Software provided to You in - Object Code format that are imposed or preserved by any License Key, or (vi) - alter or remove any Marks and Notices in the Elastic Software. If You have any - question as to whether a specific SaaS Offering constitutes a Prohibited SaaS - Offering, or are interested in obtaining Elastic's permission to engage in - commercial or non-commercial distribution of the Elastic Software, please - contact elastic_license@elastic.co. - - 1.3 Third Party Open Source Software. The Commercial Software may contain or - be provided with third party open source libraries, components, utilities and - other open source software (collectively, "Open Source Software"), which Open - Source Software may have applicable license terms as identified on a website - designated by Elastic. Notwithstanding anything to the contrary herein, use of - the Open Source Software shall be subject to the license terms and conditions - applicable to such Open Source Software, to the extent required by the - applicable licensor (which terms shall not restrict the license rights granted - to You hereunder, but may contain additional rights). To the extent any - condition of this Agreement conflicts with any license to the Open Source - Software, the Open Source Software license will govern with respect to such - Open Source Software only. Elastic may also separately provide you with - certain open source software that is licensed by Elastic. Your use of such - Elastic open source software will not be governed by this Agreement, but by - the applicable open source license terms. - -2. COMMERCIAL SOFTWARE SOURCE CODE - - 2.1 Limited License. Subject to the terms and conditions of Section 2.2 of - this Agreement, Elastic hereby grants to You, AT NO CHARGE and for so long as - you are not in breach of any provision of this Agreement, a limited, - non-exclusive, non-transferable, fully paid up royalty free right and license - to the Commercial Software in Source Code format, without the right to grant - or authorize sublicenses, to prepare Derivative Works of the Commercial - Software, provided You (i) do not hack the licensing mechanism, or otherwise - circumvent the intended limitations on the use of Elastic Software to enable - features other than Basic Features and Functions or those features You are - entitled to as part of a Subscription, and (ii) use the resulting object code - only for reasonable testing purposes. - - 2.2 Restrictions. Nothing in Section 2.1 grants You the right to (i) use the - Commercial Software Source Code other than in accordance with Section 2.1 - above, (ii) use a Derivative Work of the Commercial Software outside of a - Non-production Environment, in any production capacity, on a temporary or - permanent basis, or (iii) transfer, sell, rent, lease, distribute, sublicense, - loan or otherwise make available the Commercial Software Source Code, in whole - or in part, to any third party. Notwithstanding the foregoing, You may - maintain a copy of the repository in which the Source Code of the Commercial - Software resides and that copy may be publicly accessible, provided that you - include this Agreement with Your copy of the repository. - -3. TERMINATION - - 3.1 Termination. This Agreement will automatically terminate, whether or not - You receive notice of such Termination from Elastic, if You breach any of its - provisions. - - 3.2 Post Termination. Upon any termination of this Agreement, for any reason, - You shall promptly cease the use of the Elastic Software in Object Code format - and cease use of the Commercial Software in Source Code format. For the - avoidance of doubt, termination of this Agreement will not affect Your right - to use Elastic Software, in either Object Code or Source Code formats, made - available under the Apache License Version 2.0. - - 3.3 Survival. Sections 1.2, 2.2. 3.3, 4 and 5 shall survive any termination or - expiration of this Agreement. - -4. DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY - - 4.1 Disclaimer of Warranties. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE - LAW, THE ELASTIC SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, - AND ELASTIC AND ITS LICENSORS MAKE NO WARRANTIES WHETHER EXPRESSED, IMPLIED OR - STATUTORY REGARDING OR RELATING TO THE ELASTIC SOFTWARE. TO THE MAXIMUM EXTENT - PERMITTED UNDER APPLICABLE LAW, ELASTIC AND ITS LICENSORS SPECIFICALLY - DISCLAIM ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE AND NON-INFRINGEMENT WITH RESPECT TO THE ELASTIC SOFTWARE, AND WITH - RESPECT TO THE USE OF THE FOREGOING. FURTHER, ELASTIC DOES NOT WARRANT RESULTS - OF USE OR THAT THE ELASTIC SOFTWARE WILL BE ERROR FREE OR THAT THE USE OF THE - ELASTIC SOFTWARE WILL BE UNINTERRUPTED. - - 4.2 Limitation of Liability. IN NO EVENT SHALL ELASTIC OR ITS LICENSORS BE - LIABLE TO YOU OR ANY THIRD PARTY FOR ANY DIRECT OR INDIRECT DAMAGES, - INCLUDING, WITHOUT LIMITATION, FOR ANY LOSS OF PROFITS, LOSS OF USE, BUSINESS - INTERRUPTION, LOSS OF DATA, COST OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY - SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND, IN CONNECTION WITH - OR ARISING OUT OF THE USE OR INABILITY TO USE THE ELASTIC SOFTWARE, OR THE - PERFORMANCE OF OR FAILURE TO PERFORM THIS AGREEMENT, WHETHER ALLEGED AS A - BREACH OF CONTRACT OR TORTIOUS CONDUCT, INCLUDING NEGLIGENCE, EVEN IF ELASTIC - HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -5. MISCELLANEOUS - - This Agreement completely and exclusively states the entire agreement of the - parties regarding the subject matter herein, and it supersedes, and its terms - govern, all prior proposals, agreements, or other communications between the - parties, oral or written, regarding such subject matter. This Agreement may be - modified by Elastic from time to time, and any such modifications will be - effective upon the "Posted Date" set forth at the top of the modified - Agreement. If any provision hereof is held unenforceable, this Agreement will - continue without said provision and be interpreted to reflect the original - intent of the parties. This Agreement and any non-contractual obligation - arising out of or in connection with it, is governed exclusively by Dutch law. - This Agreement shall not be governed by the 1980 UN Convention on Contracts - for the International Sale of Goods. All disputes arising out of or in - connection with this Agreement, including its existence and validity, shall be - resolved by the courts with jurisdiction in Amsterdam, The Netherlands, except - where mandatory law provides for the courts at another location in The - Netherlands to have jurisdiction. The parties hereby irrevocably waive any and - all claims and defenses either might otherwise have in any such action or - proceeding in any of such courts based upon any alleged lack of personal - jurisdiction, improper venue, forum non conveniens or any similar claim or - defense. A breach or threatened breach, by You of Section 2 may cause - irreparable harm for which damages at law may not provide adequate relief, and - therefore Elastic shall be entitled to seek injunctive relief without being - required to post a bond. You may not assign this Agreement (including by - operation of law in connection with a merger or acquisition), in whole or in - part to any third party without the prior written consent of Elastic, which - may be withheld or granted by Elastic in its sole and absolute discretion. - Any assignment in violation of the preceding sentence is void. Notices to - Elastic may also be sent to legal@elastic.co. - -6. DEFINITIONS - - The following terms have the meanings ascribed: - - 6.1 "Affiliate" means, with respect to a party, any entity that controls, is - controlled by, or which is under common control with, such party, where - "control" means ownership of at least fifty percent (50%) of the outstanding - voting shares of the entity, or the contractual right to establish policy for, - and manage the operations of, the entity. - - 6.2 "Basic Features and Functions" means those features and functions of the - Elastic Software that are eligible for use under a Basic license, as set forth - at https://www.elastic.co/subscriptions, as may be modified by Elastic from - time to time. - - 6.3 "Commercial Software" means the Elastic Software Source Code in any file - containing a header stating the contents are subject to the Elastic License or - which is contained in the repository folder labeled "x-pack", unless a LICENSE - file present in the directory subtree declares a different license. - - 6.4 "Derivative Work of the Commercial Software" means, for purposes of this - Agreement, any modification(s) or enhancement(s) to the Commercial Software, - which represent, as a whole, an original work of authorship. - - 6.5 "License" means a limited, non-exclusive, non-transferable, fully paid up, - royalty free, right and license, without the right to grant or authorize - sublicenses, solely for Your internal business operations to (i) install and - use the applicable Features and Functions of the Elastic Software in Object - Code, and (ii) permit Contractors and Your Affiliates to use the Elastic - software as set forth in (i) above, provided that such use by Contractors must - be solely for Your benefit and/or the benefit of Your Affiliates, and You - shall be responsible for all acts and omissions of such Contractors and - Affiliates in connection with their use of the Elastic software that are - contrary to the terms and conditions of this Agreement. - - 6.6 "License Key" means a sequence of bytes, including but not limited to a - JSON blob, that is used to enable certain features and functions of the - Elastic Software. - - 6.7 "Marks and Notices" means all Elastic trademarks, trade names, logos and - notices present on the Documentation as originally provided by Elastic. - - 6.8 "Non-production Environment" means an environment for development, testing - or quality assurance, where software is not used for production purposes. - - 6.9 "Object Code" means any form resulting from mechanical transformation or - translation of Source Code form, including but not limited to compiled object - code, generated documentation, and conversions to other media types. - - 6.10 "Source Code" means the preferred form of computer software for making - modifications, including but not limited to software source code, - documentation source, and configuration files. - - 6.11 "Subscription" means the right to receive Support Services and a License - to the Commercial Software. diff --git a/7.5.1/README.md b/7.5.1/README.md deleted file mode 100644 index 71a9b13..0000000 --- a/7.5.1/README.md +++ /dev/null @@ -1,34 +0,0 @@ -# Welcome to Filebeat 7.5.1 - -Filebeat sends log files to Logstash or directly to Elasticsearch. - -## Getting Started - -To get started with Filebeat, you need to set up Elasticsearch on -your localhost first. After that, start Filebeat with: - - ./filebeat -c filebeat.yml -e - -This will start Filebeat and send the data to your Elasticsearch -instance. To load the dashboards for Filebeat into Kibana, run: - - ./filebeat setup -e - -For further steps visit the -[Getting started](https://www.elastic.co/guide/en/beats/filebeat/7.5/filebeat-getting-started.html) guide. - -## Configuration - -Make sure you enable the http monitoring for the healtcheck to work, either via config or when launching your container. - - http.enabled=true - - -## Documentation - -Visit [Elastic.co Docs](https://www.elastic.co/guide/en/beats/filebeat/7.5/index.html) -for the full Filebeat documentation. - -## Release notes - -https://www.elastic.co/guide/en/beats/libbeat/7.5/release-notes-7.5.1.html diff --git a/7.5.1/scripts/prebuild.sh b/7.5.1/scripts/prebuild.sh deleted file mode 100755 index 10d073a..0000000 --- a/7.5.1/scripts/prebuild.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -set -e - -BEAT_NAME=filebeat -ELASTIC_PRODUCT=beats -ELASTIC_VERSION=7.5.1 -ELASTIC_GPG_KEY_FINGERPRINT=46095ACC8548582C1A2699A9D27D666CD88E42B4 -PACKAGE_NAME=${BEAT_NAME}-${ELASTIC_VERSION}-linux-x86_64.tar.gz - -### Environment Variables ### -NEXUS_SCHEME=${NEXUS_SCHEME:-https} -NEXUS_SERVER="${NEXUS_SERVER}/repository/dsop" -NEXUS_USERNAME="${NEXUS_USERNAME}" -NEXUS_PASSWORD="${NEXUS_PASSWORD}" - -NEXUS_SERVER_URL="${NEXUS_SCHEME}://${NEXUS_SERVER}/elastic/${ELASTIC_PRODUCT}/${BEAT_NAME}/${ELASTIC_VERSION}" - -################################################################################# - -### Set & create paths ### -START_DIR=$(pwd) -STAGING_DIR="$(mktemp -d -t elastic_${ELASTIC_PRODUCT}XXX)" - -cd ${STAGING_DIR} - -### Download files/dependencies ### -curl -sO https://artifacts.elastic.co/downloads/${ELASTIC_PRODUCT}/${BEAT_NAME}/${PACKAGE_NAME} -curl -sO https://artifacts.elastic.co/downloads/${ELASTIC_PRODUCT}/${BEAT_NAME}/${PACKAGE_NAME}.asc -curl -sO https://artifacts.elastic.co/downloads/${ELASTIC_PRODUCT}/${BEAT_NAME}/${PACKAGE_NAME}.sha512 -sha512sum --check "${PACKAGE_NAME}.sha512" - -### GPG Signature Check ### - -curl -sO https://artifacts.elastic.co/GPG-KEY-elasticsearch - -gpg --import GPG-KEY-elasticsearch - -gpg --verify "${PACKAGE_NAME}.asc" "$PACKAGE_NAME" - -### Nexus Repo Upload ### -for package in ${PACKAGE_NAME} ${PACKAGE_NAME}.asc ${PACKAGE_NAME}.sha512 -do - curl -k -fu ${NEXUS_USERNAME}:${NEXUS_PASSWORD} -T ${package} ${NEXUS_SERVER_URL}/${package} -done - -### Cleanup ### -cd ${START_DIR} - -if [[ $NOCLEAN ]]; then - echo "Staging folder not deleted : ${STAGING_DIR}" -else - rm -rf ${STAGING_DIR} -fi diff --git a/7.6.0/Dockerfile b/7.6.0/Dockerfile deleted file mode 100644 index 9c3cc25..0000000 --- a/7.6.0/Dockerfile +++ /dev/null @@ -1,56 +0,0 @@ -ARG BASE_REGISTRY=registry.access.redhat.com -ARG BASE_IMAGE=ubi8/ubi -ARG BASE_TAG=8.1 - -FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} - -ARG TARBALL=filebeat-7.6.0-linux-x86_64.tar.gz - -WORKDIR /opt - -COPY ${TARBALL} /opt/ - -RUN tar -zxf ./${TARBALL} && rm -fv ./${TARBALL} && \ - mv filebeat-7.6.0-linux-x86_64 /usr/share/filebeat && \ - rm -rfv /opt/* - -ENV ELASTIC_CONTAINER "true" - -ENV PATH=/usr/share/filebeat:$PATH - -COPY bin/docker-entrypoint /usr/local/bin/docker-entrypoint - -RUN chmod 755 /usr/local/bin/docker-entrypoint - -RUN groupadd --gid 1000 filebeat - -RUN mkdir /usr/share/filebeat/data /usr/share/filebeat/logs && \ - chown -R root:filebeat /usr/share/filebeat && \ - find /usr/share/filebeat -type d -exec chmod 0750 {} \; && \ - find /usr/share/filebeat -type f -exec chmod 0640 {} \; && \ - chmod 0750 /usr/share/filebeat/filebeat && \ - chmod 0770 /usr/share/filebeat/modules.d && \ - chmod 0770 /usr/share/filebeat/data /usr/share/filebeat/logs - -RUN useradd -M --uid 1000 --gid 1000 --home /usr/share/filebeat filebeat - -USER filebeat - -WORKDIR /usr/share/filebeat - -LABEL \ - org.label-schema.schema-version="1.0" \ - org.label-schema.vendor="Elastic" \ - org.label-schema.name="filebeat" \ - org.label-schema.version="7.6.0" \ - org.label-schema.url="https://www.elastic.co/products/beats/filebeat" \ - org.label-schema.vcs-url="github.com/elastic/beats" \ - org.label-schema.vcs-ref="7f4c584b574acdcb5db389df6d38012c881f6fad" \ - license="ASL 2.0" \ - description="Filebeat sends log files to Logstash or directly to Elasticsearch." - -ENTRYPOINT ["/usr/local/bin/docker-entrypoint"] - -CMD ["-environment", "container"] - -HEALTHCHECK --interval=10s --timeout=5s --start-period=1m --retries=5 CMD curl -I -f --max-time 5 http://localhost:5066 || exit 1 diff --git a/7.6.0/LICENSE.txt b/7.6.0/LICENSE.txt deleted file mode 100644 index 7376ffc..0000000 --- a/7.6.0/LICENSE.txt +++ /dev/null @@ -1,223 +0,0 @@ -ELASTIC LICENSE AGREEMENT - -PLEASE READ CAREFULLY THIS ELASTIC LICENSE AGREEMENT (THIS "AGREEMENT"), WHICH -CONSTITUTES A LEGALLY BINDING AGREEMENT AND GOVERNS ALL OF YOUR USE OF ALL OF -THE ELASTIC SOFTWARE WITH WHICH THIS AGREEMENT IS INCLUDED ("ELASTIC SOFTWARE") -THAT IS PROVIDED IN OBJECT CODE FORMAT, AND, IN ACCORDANCE WITH SECTION 2 BELOW, -CERTAIN OF THE ELASTIC SOFTWARE THAT IS PROVIDED IN SOURCE CODE FORMAT. BY -INSTALLING OR USING ANY OF THE ELASTIC SOFTWARE GOVERNED BY THIS AGREEMENT, YOU -ARE ASSENTING TO THE TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE -WITH SUCH TERMS AND CONDITIONS, YOU MAY NOT INSTALL OR USE THE ELASTIC SOFTWARE -GOVERNED BY THIS AGREEMENT. IF YOU ARE INSTALLING OR USING THE SOFTWARE ON -BEHALF OF A LEGAL ENTITY, YOU REPRESENT AND WARRANT THAT YOU HAVE THE ACTUAL -AUTHORITY TO AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT ON BEHALF OF -SUCH ENTITY. - -Posted Date: April 20, 2018 - -This Agreement is entered into by and between Elasticsearch BV ("Elastic") and -You, or the legal entity on behalf of whom You are acting (as applicable, -"You"). - -1. OBJECT CODE END USER LICENSES, RESTRICTIONS AND THIRD PARTY OPEN SOURCE -SOFTWARE - - 1.1 Object Code End User License. Subject to the terms and conditions of - Section 1.2 of this Agreement, Elastic hereby grants to You, AT NO CHARGE and - for so long as you are not in breach of any provision of this Agreement, a - License to the Basic Features and Functions of the Elastic Software. - - 1.2 Reservation of Rights; Restrictions. As between Elastic and You, Elastic - and its licensors own all right, title and interest in and to the Elastic - Software, and except as expressly set forth in Sections 1.1, and 2.1 of this - Agreement, no other license to the Elastic Software is granted to You under - this Agreement, by implication, estoppel or otherwise. You agree not to: (i) - reverse engineer or decompile, decrypt, disassemble or otherwise reduce any - Elastic Software provided to You in Object Code, or any portion thereof, to - Source Code, except and only to the extent any such restriction is prohibited - by applicable law, (ii) except as expressly permitted in this Agreement, - prepare derivative works from, modify, copy or use the Elastic Software Object - Code or the Commercial Software Source Code in any manner; (iii) except as - expressly permitted in Section 1.1 above, transfer, sell, rent, lease, - distribute, sublicense, loan or otherwise transfer, Elastic Software Object - Code, in whole or in part, to any third party; (iv) use Elastic Software - Object Code for providing time-sharing services, any software-as-a-service, - service bureau services or as part of an application services provider or - other service offering (collectively, "SaaS Offering") where obtaining access - to the Elastic Software or the features and functions of the Elastic Software - is a primary reason or substantial motivation for users of the SaaS Offering - to access and/or use the SaaS Offering ("Prohibited SaaS Offering"); (v) - circumvent the limitations on use of Elastic Software provided to You in - Object Code format that are imposed or preserved by any License Key, or (vi) - alter or remove any Marks and Notices in the Elastic Software. If You have any - question as to whether a specific SaaS Offering constitutes a Prohibited SaaS - Offering, or are interested in obtaining Elastic's permission to engage in - commercial or non-commercial distribution of the Elastic Software, please - contact elastic_license@elastic.co. - - 1.3 Third Party Open Source Software. The Commercial Software may contain or - be provided with third party open source libraries, components, utilities and - other open source software (collectively, "Open Source Software"), which Open - Source Software may have applicable license terms as identified on a website - designated by Elastic. Notwithstanding anything to the contrary herein, use of - the Open Source Software shall be subject to the license terms and conditions - applicable to such Open Source Software, to the extent required by the - applicable licensor (which terms shall not restrict the license rights granted - to You hereunder, but may contain additional rights). To the extent any - condition of this Agreement conflicts with any license to the Open Source - Software, the Open Source Software license will govern with respect to such - Open Source Software only. Elastic may also separately provide you with - certain open source software that is licensed by Elastic. Your use of such - Elastic open source software will not be governed by this Agreement, but by - the applicable open source license terms. - -2. COMMERCIAL SOFTWARE SOURCE CODE - - 2.1 Limited License. Subject to the terms and conditions of Section 2.2 of - this Agreement, Elastic hereby grants to You, AT NO CHARGE and for so long as - you are not in breach of any provision of this Agreement, a limited, - non-exclusive, non-transferable, fully paid up royalty free right and license - to the Commercial Software in Source Code format, without the right to grant - or authorize sublicenses, to prepare Derivative Works of the Commercial - Software, provided You (i) do not hack the licensing mechanism, or otherwise - circumvent the intended limitations on the use of Elastic Software to enable - features other than Basic Features and Functions or those features You are - entitled to as part of a Subscription, and (ii) use the resulting object code - only for reasonable testing purposes. - - 2.2 Restrictions. Nothing in Section 2.1 grants You the right to (i) use the - Commercial Software Source Code other than in accordance with Section 2.1 - above, (ii) use a Derivative Work of the Commercial Software outside of a - Non-production Environment, in any production capacity, on a temporary or - permanent basis, or (iii) transfer, sell, rent, lease, distribute, sublicense, - loan or otherwise make available the Commercial Software Source Code, in whole - or in part, to any third party. Notwithstanding the foregoing, You may - maintain a copy of the repository in which the Source Code of the Commercial - Software resides and that copy may be publicly accessible, provided that you - include this Agreement with Your copy of the repository. - -3. TERMINATION - - 3.1 Termination. This Agreement will automatically terminate, whether or not - You receive notice of such Termination from Elastic, if You breach any of its - provisions. - - 3.2 Post Termination. Upon any termination of this Agreement, for any reason, - You shall promptly cease the use of the Elastic Software in Object Code format - and cease use of the Commercial Software in Source Code format. For the - avoidance of doubt, termination of this Agreement will not affect Your right - to use Elastic Software, in either Object Code or Source Code formats, made - available under the Apache License Version 2.0. - - 3.3 Survival. Sections 1.2, 2.2. 3.3, 4 and 5 shall survive any termination or - expiration of this Agreement. - -4. DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY - - 4.1 Disclaimer of Warranties. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE - LAW, THE ELASTIC SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, - AND ELASTIC AND ITS LICENSORS MAKE NO WARRANTIES WHETHER EXPRESSED, IMPLIED OR - STATUTORY REGARDING OR RELATING TO THE ELASTIC SOFTWARE. TO THE MAXIMUM EXTENT - PERMITTED UNDER APPLICABLE LAW, ELASTIC AND ITS LICENSORS SPECIFICALLY - DISCLAIM ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE AND NON-INFRINGEMENT WITH RESPECT TO THE ELASTIC SOFTWARE, AND WITH - RESPECT TO THE USE OF THE FOREGOING. FURTHER, ELASTIC DOES NOT WARRANT RESULTS - OF USE OR THAT THE ELASTIC SOFTWARE WILL BE ERROR FREE OR THAT THE USE OF THE - ELASTIC SOFTWARE WILL BE UNINTERRUPTED. - - 4.2 Limitation of Liability. IN NO EVENT SHALL ELASTIC OR ITS LICENSORS BE - LIABLE TO YOU OR ANY THIRD PARTY FOR ANY DIRECT OR INDIRECT DAMAGES, - INCLUDING, WITHOUT LIMITATION, FOR ANY LOSS OF PROFITS, LOSS OF USE, BUSINESS - INTERRUPTION, LOSS OF DATA, COST OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY - SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND, IN CONNECTION WITH - OR ARISING OUT OF THE USE OR INABILITY TO USE THE ELASTIC SOFTWARE, OR THE - PERFORMANCE OF OR FAILURE TO PERFORM THIS AGREEMENT, WHETHER ALLEGED AS A - BREACH OF CONTRACT OR TORTIOUS CONDUCT, INCLUDING NEGLIGENCE, EVEN IF ELASTIC - HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -5. MISCELLANEOUS - - This Agreement completely and exclusively states the entire agreement of the - parties regarding the subject matter herein, and it supersedes, and its terms - govern, all prior proposals, agreements, or other communications between the - parties, oral or written, regarding such subject matter. This Agreement may be - modified by Elastic from time to time, and any such modifications will be - effective upon the "Posted Date" set forth at the top of the modified - Agreement. If any provision hereof is held unenforceable, this Agreement will - continue without said provision and be interpreted to reflect the original - intent of the parties. This Agreement and any non-contractual obligation - arising out of or in connection with it, is governed exclusively by Dutch law. - This Agreement shall not be governed by the 1980 UN Convention on Contracts - for the International Sale of Goods. All disputes arising out of or in - connection with this Agreement, including its existence and validity, shall be - resolved by the courts with jurisdiction in Amsterdam, The Netherlands, except - where mandatory law provides for the courts at another location in The - Netherlands to have jurisdiction. The parties hereby irrevocably waive any and - all claims and defenses either might otherwise have in any such action or - proceeding in any of such courts based upon any alleged lack of personal - jurisdiction, improper venue, forum non conveniens or any similar claim or - defense. A breach or threatened breach, by You of Section 2 may cause - irreparable harm for which damages at law may not provide adequate relief, and - therefore Elastic shall be entitled to seek injunctive relief without being - required to post a bond. You may not assign this Agreement (including by - operation of law in connection with a merger or acquisition), in whole or in - part to any third party without the prior written consent of Elastic, which - may be withheld or granted by Elastic in its sole and absolute discretion. - Any assignment in violation of the preceding sentence is void. Notices to - Elastic may also be sent to legal@elastic.co. - -6. DEFINITIONS - - The following terms have the meanings ascribed: - - 6.1 "Affiliate" means, with respect to a party, any entity that controls, is - controlled by, or which is under common control with, such party, where - "control" means ownership of at least fifty percent (50%) of the outstanding - voting shares of the entity, or the contractual right to establish policy for, - and manage the operations of, the entity. - - 6.2 "Basic Features and Functions" means those features and functions of the - Elastic Software that are eligible for use under a Basic license, as set forth - at https://www.elastic.co/subscriptions, as may be modified by Elastic from - time to time. - - 6.3 "Commercial Software" means the Elastic Software Source Code in any file - containing a header stating the contents are subject to the Elastic License or - which is contained in the repository folder labeled "x-pack", unless a LICENSE - file present in the directory subtree declares a different license. - - 6.4 "Derivative Work of the Commercial Software" means, for purposes of this - Agreement, any modification(s) or enhancement(s) to the Commercial Software, - which represent, as a whole, an original work of authorship. - - 6.5 "License" means a limited, non-exclusive, non-transferable, fully paid up, - royalty free, right and license, without the right to grant or authorize - sublicenses, solely for Your internal business operations to (i) install and - use the applicable Features and Functions of the Elastic Software in Object - Code, and (ii) permit Contractors and Your Affiliates to use the Elastic - software as set forth in (i) above, provided that such use by Contractors must - be solely for Your benefit and/or the benefit of Your Affiliates, and You - shall be responsible for all acts and omissions of such Contractors and - Affiliates in connection with their use of the Elastic software that are - contrary to the terms and conditions of this Agreement. - - 6.6 "License Key" means a sequence of bytes, including but not limited to a - JSON blob, that is used to enable certain features and functions of the - Elastic Software. - - 6.7 "Marks and Notices" means all Elastic trademarks, trade names, logos and - notices present on the Documentation as originally provided by Elastic. - - 6.8 "Non-production Environment" means an environment for development, testing - or quality assurance, where software is not used for production purposes. - - 6.9 "Object Code" means any form resulting from mechanical transformation or - translation of Source Code form, including but not limited to compiled object - code, generated documentation, and conversions to other media types. - - 6.10 "Source Code" means the preferred form of computer software for making - modifications, including but not limited to software source code, - documentation source, and configuration files. - - 6.11 "Subscription" means the right to receive Support Services and a License - to the Commercial Software. diff --git a/7.6.0/README.md b/7.6.0/README.md deleted file mode 100644 index a2a59b4..0000000 --- a/7.6.0/README.md +++ /dev/null @@ -1,34 +0,0 @@ -# Welcome to Filebeat 7.6.0 - -Filebeat sends log files to Logstash or directly to Elasticsearch. - -## Getting Started - -To get started with Filebeat, you need to set up Elasticsearch on -your localhost first. After that, start Filebeat with: - - ./filebeat -c filebeat.yml -e - -This will start Filebeat and send the data to your Elasticsearch -instance. To load the dashboards for Filebeat into Kibana, run: - - ./filebeat setup -e - -For further steps visit the -[Getting started](https://www.elastic.co/guide/en/beats/filebeat/7.6/filebeat-getting-started.html) guide. - -## Configuration - -Make sure you enable the http monitoring for the healtcheck to work, either via config or when launching your container. - - http.enabled=true - - -## Documentation - -Visit [Elastic.co Docs](https://www.elastic.co/guide/en/beats/filebeat/7.6/index.html) -for the full Filebeat documentation. - -## Release notes - -https://www.elastic.co/guide/en/beats/libbeat/7.6/release-notes-7.6.0.html diff --git a/7.6.0/bin/docker-entrypoint b/7.6.0/bin/docker-entrypoint deleted file mode 100644 index e501637..0000000 --- a/7.6.0/bin/docker-entrypoint +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -set -euo pipefail - -# Check if the the user has invoked the image with flags. -# eg. "filebeat -c filebeat.yml" -if [[ -z $1 ]] || [[ ${1:0:1} == '-' ]] ; then - exec filebeat "$@" -else - # They may be looking for a Beat subcommand, like "filebeat setup". - subcommands=$(filebeat help \ - | awk 'BEGIN {RS=""; FS="\n"} /Available Commands:/' \ - | awk '/^\s+/ {print $1}') - - # If we _did_ get a subcommand, pass it to filebeat. - for subcommand in $subcommands; do - if [[ $1 == $subcommand ]]; then - exec filebeat "$@" - fi - done -fi - -# If neither of those worked, then they have specified the binary they want, so -# just do exactly as they say. -exec "$@" diff --git a/7.6.0/download.json b/7.6.0/download.json deleted file mode 100644 index 1dc3233..0000000 --- a/7.6.0/download.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "resources": [ - { - "url": "https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-7.6.0-linux-x86_64.tar.gz", - "filename": "filebeat-7.6.0-linux-x86_64.tar.gz", - "validation": { - "type": "sha512", - "value": "62929de8c5ed8868c481cf5f3fe0fe194558cd1536fe2461f029a66bc873ba529173900afceca8abd5a2baed300563eaa40bb223341b6abb2baa97b56a8ead3d" - } - } - ] -} diff --git a/7.6.1/Jenkinsfile b/7.6.1/Jenkinsfile deleted file mode 100644 index 1e590cb..0000000 --- a/7.6.1/Jenkinsfile +++ /dev/null @@ -1,2 +0,0 @@ -@Library('DCCSCR@master') _ -dccscrPipeline() diff --git a/7.6.1/README.md b/7.6.1/README.md deleted file mode 100644 index 33e0052..0000000 --- a/7.6.1/README.md +++ /dev/null @@ -1,34 +0,0 @@ -# Welcome to Filebeat 7.6.1 - -Filebeat sends log files to Logstash or directly to Elasticsearch. - -## Getting Started - -To get started with Filebeat, you need to set up Elasticsearch on -your localhost first. After that, start Filebeat with: - - ./filebeat -c filebeat.yml -e - -This will start Filebeat and send the data to your Elasticsearch -instance. To load the dashboards for Filebeat into Kibana, run: - - ./filebeat setup -e - -For further steps visit the -[Getting started](https://www.elastic.co/guide/en/beats/filebeat/7.6/filebeat-getting-started.html) guide. - -## Configuration - -Make sure you enable the http monitoring for the healtcheck to work, either via config or when launching your container. - - http.enabled=true - - -## Documentation - -Visit [Elastic.co Docs](https://www.elastic.co/guide/en/beats/filebeat/7.6/index.html) -for the full Filebeat documentation. - -## Release notes - -https://www.elastic.co/guide/en/beats/libbeat/7.6/release-notes-7.6.1.html diff --git a/7.6.1/bin/docker-entrypoint b/7.6.1/bin/docker-entrypoint deleted file mode 100644 index e501637..0000000 --- a/7.6.1/bin/docker-entrypoint +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -set -euo pipefail - -# Check if the the user has invoked the image with flags. -# eg. "filebeat -c filebeat.yml" -if [[ -z $1 ]] || [[ ${1:0:1} == '-' ]] ; then - exec filebeat "$@" -else - # They may be looking for a Beat subcommand, like "filebeat setup". - subcommands=$(filebeat help \ - | awk 'BEGIN {RS=""; FS="\n"} /Available Commands:/' \ - | awk '/^\s+/ {print $1}') - - # If we _did_ get a subcommand, pass it to filebeat. - for subcommand in $subcommands; do - if [[ $1 == $subcommand ]]; then - exec filebeat "$@" - fi - done -fi - -# If neither of those worked, then they have specified the binary they want, so -# just do exactly as they say. -exec "$@" diff --git a/7.6.1/Dockerfile b/Dockerfile similarity index 100% rename from 7.6.1/Dockerfile rename to Dockerfile diff --git a/7.6.0/Jenkinsfile b/Jenkinsfile similarity index 100% rename from 7.6.0/Jenkinsfile rename to Jenkinsfile diff --git a/7.6.1/LICENSE b/LICENSE similarity index 100% rename from 7.6.1/LICENSE rename to LICENSE diff --git a/README.md b/README.md index 0db0539..33e0052 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,34 @@ -# filebeat +# Welcome to Filebeat 7.6.1 +Filebeat sends log files to Logstash or directly to Elasticsearch. + +## Getting Started + +To get started with Filebeat, you need to set up Elasticsearch on +your localhost first. After that, start Filebeat with: + + ./filebeat -c filebeat.yml -e + +This will start Filebeat and send the data to your Elasticsearch +instance. To load the dashboards for Filebeat into Kibana, run: + + ./filebeat setup -e + +For further steps visit the +[Getting started](https://www.elastic.co/guide/en/beats/filebeat/7.6/filebeat-getting-started.html) guide. + +## Configuration + +Make sure you enable the http monitoring for the healtcheck to work, either via config or when launching your container. + + http.enabled=true + + +## Documentation + +Visit [Elastic.co Docs](https://www.elastic.co/guide/en/beats/filebeat/7.6/index.html) +for the full Filebeat documentation. + +## Release notes + +https://www.elastic.co/guide/en/beats/libbeat/7.6/release-notes-7.6.1.html diff --git a/7.5.1/bin/docker-entrypoint b/bin/docker-entrypoint similarity index 100% rename from 7.5.1/bin/docker-entrypoint rename to bin/docker-entrypoint diff --git a/7.6.1/download.json b/download.json similarity index 100% rename from 7.6.1/download.json rename to download.json -- GitLab