Skip to content

Conversation

@stefans-elastic
Copy link
Contributor

@stefans-elastic stefans-elastic commented Jan 3, 2026

Proposed commit message

Added swap field to system.process.memory dataset.
This integrations part of beats change - elastic/beats#48334.

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

Author's Checklist

  • [ ]

How to test this PR locally

The way to test it on macos:

  1. Launch ubuntu in docker
docker run -it --rm --privileged \
  --network elastic-package-stack_default \
  --name my-ubuntu-swap-test \
  --memory="300m" \
  -v /swap_storage \
  ubuntu:latest bash
  1. Run the commands to enable swap
# 1. Install tools
apt update && apt install -y stress-ng

# 2. Create the file INSIDE the volume
dd if=/dev/zero of=/swap_storage/swapfile bs=1M count=512

# 3. Secure and Enable
chmod 600 /swap_storage/swapfile
mkswap /swap_storage/swapfile
swapon /swap_storage/swapfile
  1. Verify swap is enabled with free -h command (you shouldn't see zeroes in Swap row)
  2. Install and enroll Agent.

Related issues

Screenshots

Screenshot 2026-01-23 at 10 59 37

@stefans-elastic stefans-elastic added enhancement New feature or request Integration:system System Team:Obs-InfraObs Observability Infrastructure Monitoring team [elastic/obs-infraobs-integrations] labels Jan 3, 2026
@elastic-vault-github-plugin-prod

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@andrewkroh andrewkroh added the documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. label Jan 8, 2026
@elasticmachine
Copy link

💚 Build Succeeded

History

@stefans-elastic stefans-elastic marked this pull request as ready for review January 23, 2026 09:17
@stefans-elastic stefans-elastic requested review from a team as code owners January 23, 2026 09:18
Copy link
Member

@ishleenk17 ishleenk17 left a comment

Choose a reason for hiding this comment

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

Looks good!

@stefans-elastic stefans-elastic merged commit f364156 into elastic:main Jan 23, 2026
8 checks passed
@elastic-vault-github-plugin-prod

Package system - 2.12.0 containing this change is available at https://epr.elastic.co/package/system/2.12.0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. 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.

4 participants