Closed Kortekaasy closed 5 months ago
I am seeing the same issue with both the MacOSX-arm and Linux/x86 variants of 8.11.3. 8.11.2 worked fine.
Both bin/logstash-plugin list
and bin/logstash-plugin remove
return errors.
Seeing the same Gem dependency (for ffi) error trying: prepare-offline-pack.
Is there an easy way to target an older version using similar installation instructions as the docs?
Is there an easy way to target an older version using similar installation instructions as the docs?
I would also be interested, especially for yum updates.
Is there an easy way to target an older version using similar installation instructions as the docs?
I would also be interested, especially for yum updates.
dnf install logstash --version 1:8.11.3-1
Is there an easy way to target an older version using similar installation instructions as the docs?
Package managers and docker have ways to specify which version to install/run:
yum --showduplicate list logstash
yum install logstash-<version.architecture>
apt-get install logstash=<version>
docker run -it logstash:version -e "input { http { port => 3333 }}"
As for the bug, the fix https://github.com/elastic/logstash/pull/15694 has been merged to 8.11, thanks @robbavey. The upcoming 8.12.0 release won't have this issue, which is targeted for the first half of January. I'll have to see if we can get a 8.11.4 out, but may be difficult with the holidays.
For others that might struggle to find what version to specify using apt-get
here is an example configuration:
RUN apt-get update -y && \
apt-get install -y wget gnupg apt-transport-https && \
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add - && \
echo "deb https://artifacts.elastic.co/packages/oss-8.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-oss-8.x.list && \
apt-get update -y && \
apt-get install -y logstash-oss=1:8.11.2-1
The only change to specify the version is on the last line, it took me a while to figure out the version is 1:8.11.2-1
.
Fix merged and 8.12 is out as of two days ago and 8.11.4 about a week or so, can be closed I suppose. (I haven't tested it)
I can confirm this problem is fixed in 8.11.4 and 8.12.
Issue seems fixed on my end as well. Closing it seems appropriate
Logstash information:
Please include the following information:
bin/logstash --version
):logstash 8.11.3
APT
systemd
Plugins installed: (
bin/logstash-plugin list --verbose
): NA - this is the part that crashesJVM (e.g.
java -version
):openjdk version "17.0.9" 2023-10-17
(Bundled)OS version (
uname -a
if on a Unix-like system):Linux ip-10-81-4-10 6.1.0-15-cloud-arm64 #1 SMP Debian 6.1.66-1 (2023-12-09) aarch64 GNU/Linux
Description of the problem including expected versus actual behavior: After performing a fresh install of Logstash 8.11.3, I wanted to list the plugins using
bin/logstash-plugin list
. This gives the following output:On Logstash 8.11.2, the same command would give the output:
Steps to reproduce:
/usr/share/logstash/bin/logstash-plugin list
Provide logs (if relevant): Logs (as shown above):