Skip to content

vsphere: populate ECS source.ip and related.ip from client.ip in log ingest pipelines#18536

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-vsphere-ingest-pipelines
Draft

vsphere: populate ECS source.ip and related.ip from client.ip in log ingest pipelines#18536
Copilot wants to merge 2 commits intomainfrom
copilot/fix-vsphere-ingest-pipelines

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 21, 2026

vCenter login/logout/failed login/SSH/upload events extract the initiating IP into client.ip but never propagate it to the ECS correlation fields source.ip and related.ip, breaking cross-dataset IP correlation and ECS compliance.

Issue: #18537

Changes

  • ingest_pipeline/login.yml and ingest_pipeline/file.yml: append two processors at the end of each pipeline:
- set:
    field: source.ip
    copy_from: client.ip
    if: ctx.client?.ip != null
- append:
    field: related.ip
    value: "{{client.ip}}"
    allow_duplicates: false
    if: ctx.client?.ip != null
  • test-format-common.log-expected.json: updated all 24 test cases that assert client.ip to also assert source.ip and related.ip.
  • manifest.yml / changelog.yml: bumped package version 1.23.11.24.0.

…g ingest pipelines

Agent-Logs-Url: https://github.com/elastic/integrations/sessions/92c014c0-f3d3-46e0-b39f-4b47b21723b0

Co-authored-by: ishleenk17 <102962586+ishleenk17@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix vSphere integration ingest pipelines for ECS compliance vsphere: populate ECS source.ip and related.ip from client.ip in log ingest pipelines Apr 21, 2026
Copilot AI requested a review from ishleenk17 April 21, 2026 06:11
@andrewkroh andrewkroh added the Integration:vsphere VMware vSphere label Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Integration:vsphere VMware vSphere

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants