Skip to content

feat(packages/system): enable System integration log collection on SLES 16.0#18219

Merged
andrzej-stencel merged 6 commits into
elastic:mainfrom
andrzej-stencel:fix-system-conditions-for-sles
May 15, 2026
Merged

feat(packages/system): enable System integration log collection on SLES 16.0#18219
andrzej-stencel merged 6 commits into
elastic:mainfrom
andrzej-stencel:fix-system-conditions-for-sles

Conversation

@andrzej-stencel
Copy link
Copy Markdown
Contributor

@andrzej-stencel andrzej-stencel commented Apr 3, 2026

Proposed commit message

Enable System integration log collection on SLES 16.0

Also fixes System integration log collection on other versions of SLES (SUSE Linux Enterprise Server).

  • For SLES 15, enables log collection on systems with dashes in version, like "15-SP7".
  • For SLES versions lower than 15 (11, 12), enables log collection with logfile input. The condition on the input was incorrect and caused the logfile input to never run on any version of SLES.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Related issues

Other notes

I couldn't find a way to write tests for this. The conditions should be testable. Given high priority of the issue #16583, I decided to go ahead without writing tests.
I would have liked to use startsWith, it would simplify the conditions greatly. I wasn't sure we want to do this given the history of:

The condition was incorrect and caused `logfile` input to never run on any SLES (SUSE Linux Enterprise Server).

Fixes elastic#16026
Enable `journald` input by default and disable `logfile` input by default
for SLES 16.0.
@elastic-vault-github-plugin-prod
Copy link
Copy Markdown

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@andrewkroh andrewkroh added the Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] label Apr 3, 2026
@octavioranieri
Copy link
Copy Markdown

Any ETA to have it merged, please? 🙏 thanks in advance!

@andrzej-stencel
Copy link
Copy Markdown
Contributor Author

Rebased and ready for reviews.

Copy link
Copy Markdown
Member

@rdner rdner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good to me.

It would be great if whoever reported the issue could also test the package before it's published (using elastic-package).

However, if it can't wait we can merge it as it is and address the feedback in a patch release right away if needed.

@andrzej-stencel andrzej-stencel enabled auto-merge (squash) May 13, 2026 11:26
@andrzej-stencel
Copy link
Copy Markdown
Contributor Author

@elastic/obs-infraobs-integrations, @elastic/sec-linux-platform, @elastic/sec-windows-platform can you please review?

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

TL;DR

Buildkite failed in Check integrations system during package linting because the System package version metadata is inconsistent: packages/system/manifest.yml is still 2.17.0 while the changelog has a new 2.18.0 entry. Align the manifest/changelog versions and rerun the package check.

Remediation

  • Update packages/system/manifest.yml version to match the new changelog release (likely 2.18.0), or retarget the new changelog entry to the current manifest version if this PR is not intended to bump the package version.
  • Re-run: .buildkite/scripts/test_one_package.sh packages/system origin/main 25f7bb65afcb54ba2459828094672214d88ebf2b
Investigation details

Root Cause

The failing step is package lint validation, and the fatal error is:

  • current manifest version doesn't have changelog entry

Relevant files at the failing commit:

  • packages/system/manifest.yml:4version: "2.17.0"
  • packages/system/changelog.yml:2 → top entry is - version: "2.18.0"

This mismatch indicates release metadata drift for the System package in this PR branch.

Evidence

Error: checking package failed: linting package failed: found 1 validation error:
  1. current manifest version doesn't have changelog entry

Verification

  • Not run locally in this workflow (analysis based on Buildkite logs and repository files at the failing commit SHA).

Follow-up

If you intended this PR to release System 2.18.0, bump manifest.yml to 2.18.0. If not, change/remove the 2.18.0 changelog entry so the current manifest version is the active changelog version.

Note

🔒 Integrity filter blocked 2 items

The following items were blocked because they don't meet the GitHub integrity level.

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

What is this? | From workflow: PR Buildkite Detective

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

History

@andrzej-stencel andrzej-stencel merged commit 4833341 into elastic:main May 15, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Integration:system System Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sles15]: System integration logs are not visible under Data Streams tab for Sles tar agent. [system]: broken logs condition on SUSE Linux

7 participants