Commit graph

10710 commits

Author SHA1 Message Date
github-actions[bot]
80e67bc73d
bump lock file for 8.13 (#16143)
Update patch plugin versions in gemfile lock

---------

Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
Co-authored-by: Andrea Selva <selva.andre@gmail.com>
2024-05-06 14:59:02 +02:00
github-actions[bot]
b349c092d6
Use dpkg --print-architecture in Dockerfile to ascertain architecture (#16076) (#16127)
* Use `dpkg --print-architecture` in Dockerfile to ascertain architecture

(cherry picked from commit b9b9ad9395)

Co-authored-by: Rob Bavey <rob.bavey@elastic.co>
2024-05-02 15:12:33 +01:00
kaisecheng
f0c340731b
bump 8.13.4 (#16121) 2024-05-02 09:37:47 +01:00
github-actions[bot]
05d408e0e8
Release notes for 8.13.3 (#16108)
* Update release notes for 8.13.3

Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
Co-authored-by: Karen Metts <35154725+karenzone@users.noreply.github.com>
2024-05-01 23:39:49 +01:00
github-actions[bot]
2e1d35ae03
bump lock file for 8.13 (#16111)
* Update patch plugin versions in gemfile lock

* Update Gemfile.jruby-3.1.lock.release

---------

Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
2024-04-25 21:52:12 +01:00
github-actions[bot]
5ecd3cf0a8
bump lock file for 8.13 (#16107)
* Update patch plugin versions in gemfile lock

* Update Gemfile.jruby-3.1.lock.release

---------

Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
2024-04-25 15:27:50 +01:00
github-actions[bot]
3dbe7de260
Doc: Remove include statements for screenshots not rendering properly (#15981) (#16089)
(cherry picked from commit cb45cd28cc)
Co-authored-by: Karen Metts <35154725+karenzone@users.noreply.github.com>
2024-04-16 17:51:50 -04:00
github-actions[bot]
2bef137dc4
Release notes for 8.13.2 (#16068)
Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2024-04-08 10:59:27 -04:00
João Duarte
09d92e65f5
bump version to 8.13.3 (#16069) 2024-04-08 13:26:19 +01:00
github-actions[bot]
08e2162ee8
bump lock file for 8.13 (#16060)
Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2024-04-05 16:50:35 +01:00
github-actions[bot]
9ad0b7e26f
Update Dockerfile to select appropriate architecture on build box (#16053) (#16059)
This commit adds logic to copy the appropriate env2yaml file to the Docker image
* Clean up env2yaml folder

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
(cherry picked from commit e5b2b3d92b)

Co-authored-by: Rob Bavey <rob.bavey@elastic.co>
2024-04-05 11:46:05 -04:00
Andrea Selva
cc36934451
Bump 8.13.2 (#16047) 2024-04-02 09:00:20 +02:00
github-actions[bot]
1d0269d7f7
Release notes for 8.13.1 (#16046)
* Update release notes for 8.13.1

* Refined release notes

* Update docs/static/releasenotes.asciidoc

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>

---------

Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
Co-authored-by: andsel <selva.andre@gmail.com>
Co-authored-by: Karen Metts <35154725+karenzone@users.noreply.github.com>
Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2024-04-01 10:52:25 -04:00
github-actions[bot]
03fad21747
Fix integration tests caused by #16026. (#16038) (#16043)
(cherry picked from commit dd1f6dd160)

Co-authored-by: Mashhur <99575341+mashhurs@users.noreply.github.com>
2024-03-28 09:09:15 -07:00
github-actions[bot]
9d94258286
Modernize ironbank Dockerfile (#16022) (#16041)
- remove golang assets (go1.17.8.linux-amd64.tar.gz)
- remove yaml lib assets (v2.3.0.tar.gz)
- use go container to build env2yaml
- remove unnecessary layers
- remove HEALTHCHECK
- switch yum to dnf

Fixes: elastic/ingest-dev#3008
(cherry picked from commit a7779664af)

Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
2024-03-28 14:42:39 +00:00
github-actions[bot]
d758e5d9c2
Remove curl installation step, as curl-minimal is already provided in ubi9 (#15998) (#16005)
(cherry picked from commit 32052a263f)

Co-authored-by: Rob Bavey <rob.bavey@elastic.co>
2024-03-28 13:42:09 +00:00
github-actions[bot]
b565864f4f
Add arm64 support for env2yaml (#15980) (#15984)
* Add arm64 support for env2yaml

This commit builds env2yaml in arm64 and amd64 flavors, and uses
$TARGETARCH in the Dockerfile to ensure that the correct version is used
when building for alternative architectures

Fixes: #15913

* Add env2yaml executables to build context

* Split `COPY_FILES` for readability

Co-authored-by: Andrea Selva <selva.andre@gmail.com>

---------

Co-authored-by: Andrea Selva <selva.andre@gmail.com>
(cherry picked from commit b640e7e851)

Co-authored-by: Rob Bavey <rob.bavey@elastic.co>
2024-03-28 13:41:37 +00:00
github-actions[bot]
0c30b6be37
Save name came through ENV vars to let Logstash decide using value from either keystore or ENV. (#16026) (#16037)
* Save  name came through ENV vars to let Logstash decide using either keystore or ENV value.

* Apply suggestions from code review to simplify array declaration.

Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>

---------

Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
(cherry picked from commit e429795039)

Co-authored-by: Mashhur <99575341+mashhurs@users.noreply.github.com>
2024-03-27 11:33:29 -07:00
github-actions[bot]
566160864a
Fix exclusion of old ruby-maven-libs 3.3.9 jars (#16032) (#16035)
(cherry picked from commit 96e4838e43)

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2024-03-27 14:41:32 +00:00
github-actions[bot]
6602983f26
Doc: Remove beta tag from integrations filter doc (#16021) (#16033)
(cherry picked from commit 36b7cb8ab3)
Co-authored-by: Karen Metts <35154725+karenzone@users.noreply.github.com>
2024-03-26 12:50:08 -04:00
kaisecheng
cb0969893c
bump 8.13.1 (#16029) 2024-03-26 09:50:37 +00:00
github-actions[bot]
270c8ca110
Release notes for 8.13.0 (#15978)
Co-authored-by: Kaise Cheng <kaise.cheng@elastic.co>
Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
Co-authored-by: Ry Biesemeyer <yaauie@users.noreply.github.com>
Co-authored-by: Mashhur <mashhur.sattorov@elastic.co>
Co-authored-by: Karen Metts <35154725+karenzone@users.noreply.github.com>
2024-03-25 20:29:30 -04:00
github-actions[bot]
aaaf0696e5
bump lock file for 8.13 (#16015)
Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2024-03-21 09:43:42 +01:00
github-actions[bot]
ca7a9eda96
bump lock file for 8.13 (#16011)
* Update minor plugin versions in gemfile lock

* Update Gemfile.jruby-3.1.lock.release



---------

Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
Co-authored-by: Mashhur <99575341+mashhurs@users.noreply.github.com>
2024-03-19 16:31:02 -07:00
github-actions[bot]
86c8b380fd
upgrade ruby-maven-libs to 3.8.9 (#15894) (#16009)
Given that JRuby comes with ruby-maven-libs 3.3.9 this commit upgrades the gem to 3.8.9 and ensures files from 3.3.9 are not included in the distribution.

(cherry picked from commit 59bd376360)

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2024-03-18 14:36:58 +01:00
github-actions[bot]
e5b988fed2
ensure order of jvm options from file and env vars is respected (#15997) (#16004)
Co-authored-by: Andrea Selva <selva.andre@gmail.com>
(cherry picked from commit 43614ede50)

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2024-03-12 09:21:45 +00:00
github-actions[bot]
17784fd09b
geoip: avoid crash cleaning non-existing managed dbs (#15986) (#15999)
* geoip: avoid crash cleaning non-existing managed dbs

* Update x-pack/spec/geoip_database_management/manager_spec.rb

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>

---------

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
(cherry picked from commit 483059e378)

Co-authored-by: Ry Biesemeyer <yaauie@users.noreply.github.com>
2024-03-11 13:25:22 -07:00
github-actions[bot]
3e7f0958b9
Split java/ruby unit test steps on Windows (#15888) (#15992)
As a follow up to #15861 this commit splits the current unit tests step
for the Windows JDK matrix pipeline to two that run
Java and Ruby unit tests separately.

Closes https://github.com/elastic/logstash/issues/15566

(cherry picked from commit c0c213d17e)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-03-11 10:51:06 +02:00
github-actions[bot]
6c1e0244fd
Fix the Bootstrap check test failure on Windows. (#15975) (#15989)
(cherry picked from commit 19637143e6)

Co-authored-by: Mashhur <99575341+mashhurs@users.noreply.github.com>
2024-03-11 10:20:27 +02:00
github-actions[bot]
afcebb4972
update 8.13 lockfile to accommodate the unbundling of imap input (#15985)
Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2024-03-08 16:15:39 +00:00
github-actions[bot]
b3daf43a0c
bump lock file for 8.13 (#15983)
Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2024-03-08 15:58:53 +00:00
github-actions[bot]
de0a0eed17
Imap plugin is no anymore default plugin. (#15425) (#15982)
(cherry picked from commit dec53ba325)

Co-authored-by: Mashhur <99575341+mashhurs@users.noreply.github.com>
2024-03-08 15:50:01 +00:00
github-actions[bot]
21c1933f66
Release notes for 8.12.2 (#15956) (#15973)
Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
(cherry picked from commit 2c89bcfc7b)
2024-02-23 08:30:38 -05:00
github-actions[bot]
783b58e7b5
Added :jvm-options-parser subproject to the javaTests task (#15957) (#15958)
Adds a global new task named javaTests which groups both :logstash-core:javaTests and :jvm-options-parser:test to include the JvmOptionParser unit test in javaTests phase.

(cherry picked from commit c30fe46c80)

Co-authored-by: Andrea Selva <selva.andre@gmail.com>
2024-02-19 16:56:49 +01:00
github-actions[bot]
25af45b208
Follow up to #15900 -- fix remaining acceptance tests (#15907) (#15951)
PR#15900 missed a few more places where Logstash is installed but
a working minimal pipeline config is added.
This commit fixes that and stabilizes all acceptance tests, thus
minizing the need for time consuming BK retries of corresponding
steps.

Relates #15900
Relates https://github.com/elastic/logstash/issues/15784

(cherry picked from commit 54f73e5d22)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-02-15 12:51:03 +02:00
github-actions[bot]
3af24fea51
Fix packaging service check failures (#15946) (#15948)
This commit tightens the checks for the status
output of the Logstash OS service to specifically
scan for `org.logstash.Logstash` rather than
only the jdk path.

The reason is that the startup script first runs
an options parser, and then the logstash process
itself, both referencing the JDK path.

Closes https://github.com/elastic/ingest-dev/issues/2950

(cherry picked from commit eedccea33f)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
2024-02-15 10:35:49 +02:00
github-actions[bot]
8511090526
bump lock file for 8.13 (#15945)
* Update minor plugin versions in gemfile lock

* Update Gemfile.jruby-3.1.lock.release

---------

Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
2024-02-14 17:00:27 +00:00
github-actions[bot]
918df63216
Package elastic_integration plugin. (#15769) (#15944)
* Exclude plugins feature in OSS distributions.

* Set elastic_integration plugin default.

* Remove non-OSS plugins after installing default plugins.

* Testing local can't find gem bundler (= 2.3.26) issue.

* Include extract non-OSS plugins logic indocker build operations.

* Only default plugins can be excluded from OSS distros.

* Simplification: instead conditional check, use intersection to make OSS exlucluded plugin list.

* Gem and specification files still stay after removing the plugin. This change removes the stayed files.

* Rename oss-exclude to skip-oss to align namings with other params.

* Make intersection method simpler.

* [Test] Temporary excluding elastic integration plugin from default plugin list.

* Sets elastic_integration plugin default back. When removing locally installed gems, Gem::Specification doesn't recognize the gem. We have Bundle::setup in the removal logic but it is causing an issue when we re-use the bundle.

* Test the build order, remove plugin from cache logic seems invalid since we don't pack the cache.

(cherry picked from commit 3c9db658bc)

Co-authored-by: Mashhur <99575341+mashhurs@users.noreply.github.com>
2024-02-14 07:38:09 -08:00
github-actions[bot]
52ccf37282
bump lock file for 8.13 (#15939)
* Update minor plugin versions in gemfile lock

* Update Gemfile.jruby-3.1.lock.release

---------

Co-authored-by: logstashmachine <43502315+logstashmachine@users.noreply.github.com>
Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
2024-02-13 17:38:50 +00:00
github-actions[bot]
ed565110f5
Add Alma 8, Alma 9, and Rocky Linux 9 to the JDK matrix (#15941) (#15942)
(cherry picked from commit 8eb08e1382)
2024-02-13 11:02:29 -05:00
Kaise Cheng
5884ecd582 copy Gemfile from 8.12 2024-02-12 12:39:51 +00:00
Dimitrios Liappis
be3f75e346
Clean up left over scripts after CI migration (#15926)
Following the CI migration from Jenkins to Buildkite, this commit
removes a number of left over helper scripts that aren't needed
anymore.

Closes https://github.com/elastic/ingest-dev/issues/2850
2024-02-12 11:26:28 +02:00
kaisecheng
4e6815b1ea
add openssl to ubi image (#15929)
Logstash on ECK requires openssl command to build TLS keystore.
This commit adds `microdnf install -y openssl` to ensure the command exists in ubi image.
2024-02-09 18:40:02 +00:00
João Duarte
de01eb6ee3
Remove jinja2 in favor of erb templates (#15142)
This commit removes the jinja2 templates and consequently the dependency on Python
2024-02-09 13:49:58 +00:00
Andrea Selva
52ce3ff8f6
Set Netty's maxOrder options to previous default (#15925)
Updates Netty's configuration of maxOrder to a previously proven value, if not already customised by the user.

Adds a step to the JvmOption parsing tool, which is used to compose the JVM options string to pass down to Logstash at startup.
The added step rework the parsed options to set the allocator max order -Dio.netty.allocator.maxOrder=11 so that the maximum pooled buffer is up to 16MB and not 4MB.
This option is added iff it's not yet specified by the user
2024-02-09 13:49:23 +01:00
João Duarte
5c3e64d591
introduce go.mod for env2yaml (#15921)
Update the env2yaml to have a go.mod instead of relying on disabling go modules, otherwise building with golang 1.22 will fail in the future.
This change also directly uses the golang image to build the binary removing the need for an intermediate image.
2024-02-08 18:12:11 +00:00
Nassim Kammah
db193f56c4
Update docs-preview link (#15918)
Following the migration from Jenkins to Buildkite, docs previews are now available at <repo>_bk_<PR>.

More context in https://github.com/elastic/docs/pull/2898
2024-02-08 17:20:58 +01:00
Andrea Selva
4e98aa8117
Fix the lastes 8.12 version, to the actually latest released (#15915)
* Fix the latest 8.12 version, to the actually latest released
* Update version fo 7.17


Co-authored-by: Mashhur <99575341+mashhurs@users.noreply.github.com>
2024-02-07 18:02:51 +01:00
Mashhur
c75a2d84b1
Update CI release file after releases. (#15911) 2024-02-07 06:41:02 -08:00
Ry Biesemeyer
38e8c5d3f9
flow_metrics: pull worker_utilization up to pipeline-level (#15912) 2024-02-06 11:50:34 -08:00