elastic / elastic/logstash

Multiple plugins failing after upgrading to 8.10

Open
#15,360 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
1d 4h
Merged PRs (30d)
88

Description

**Logstash information**:

Logstash version: 8.10.2
Logstash installation source: apt
How is Logstash being run: systemd

**Plugins installed**: https://gist.github.com/ceeeekay/991b6b2ace061202afbfa5da78e0d46e

**JVM**: bundled

**OS version**: Ubuntu 22.04.3 LTS

**Description of the problem including expected versus actual behavior**:
Logstash versions after 8.10 are failing to start certain plugins. I'm seeing issues with both `logstash-filter-tld` and `logstash-input-imap`. I suspect these are related to https://github.com/elastic/logstash/pull/15283 and/or https://github.com/elastic/logstash/pull/15066.

I've opened an issue for the IMAP input at https://github.com/logstash-plugins/logstash-input-imap/issues/59 but have since discovered the TLD filter is also failing to start, so I think it may be related more to Logstash than the plugins themselves.

Plugins load fine if Logstash is downgraded to 8.9.2.

**Steps to reproduce**:

1. Install Logstash 8.10.2
2. Configure a basic pipeline using the IMAP input, e.g., https://gist.github.com/ceeeekay/2358a9de0885000bdf05b058145e3d3a
3. Start Logstash
4. Observe logs

**Provide logs (if relevant)**:
https://gist.github.com/ceeeekay/a7c39061a4c154bbbeb8bdcb26ba91f8#file-gistfile1-txt-L5-L17

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure using Logstash 8.10.2, the basic IMAP pipeline gist, and the provided plugin list; then inspect the linked startup logs and the suspected Logstash pull requests #15283 and #15066. Compare with Logstash 8.9.2 and the related logstash-input-imap issue; done means the affected plugins start successfully on 8.10.2 without regressing the older version.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.