Skip to content

trend_micro_vision_one: reduce default batch_size to 200 - #18977

Merged
efd6 merged 1 commit into
elastic:mainfrom
efd6:18975-trend_micro_vision_one
May 13, 2026
Merged

trend_micro_vision_one: reduce default batch_size to 200#18977
efd6 merged 1 commit into
elastic:mainfrom
efd6:18975-trend_micro_vision_one

Conversation

@efd6

@efd6 efd6 commented May 12, 2026

Copy link
Copy Markdown
Contributor

Proposed commit message

trend_micro_vision_one: reduce default batch_size to 200

Lower the default batch_size for endpoint_activity and
network_activity from 1000 to 200. The CEL input holds the entire
API response in memory during processing, and at 1000 the peak
allocation can push memory-constrained agents past their cgroup
limit. The description now warns that values above 200 risk
out-of-memory failures on such agents.

Closes #18975

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

Related issues

Screenshots

@efd6 efd6 self-assigned this May 12, 2026
@efd6 efd6 added enhancement New feature or request Integration:trend_micro_vision_one TrendAI Vision One Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] labels May 12, 2026
Lower the default batch_size for endpoint_activity and
network_activity from 1000 to 200. The CEL input holds the entire
API response in memory during processing, and at 1000 the peak
allocation can push memory-constrained agents past their cgroup
limit. The description now warns that values above 200 risk
out-of-memory failures on such agents.

Closes elastic#18975
@efd6
efd6 force-pushed the 18975-trend_micro_vision_one branch from 0645775 to e6af5ab Compare May 12, 2026 23:09
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine

Copy link
Copy Markdown

💚 Build Succeeded

cc @efd6

@efd6
efd6 marked this pull request as ready for review May 12, 2026 23:53
@efd6
efd6 requested a review from a team as a code owner May 12, 2026 23:53
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

@andrewkroh andrewkroh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

Existing installations are unaffected. Fleet's package_policy API copies the current input defaults into the policy at creation time, so only package policies created after this change will pick up the new batch_size default.

@efd6
efd6 merged commit 6231883 into elastic:main May 13, 2026
8 checks passed
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

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

herrBez pushed a commit to herrBez/integrations that referenced this pull request Jun 1, 2026
Lower the default batch_size for endpoint_activity and
network_activity from 1000 to 200. The CEL input holds the entire
API response in memory during processing, and at 1000 the peak
allocation can push memory-constrained agents past their cgroup
limit. The description now warns that values above 200 risk
out-of-memory failures on such agents.

Closes elastic#18975
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:trend_micro_vision_one TrendAI Vision One Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations]

3 participants