Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Oct 16, 2024

Proposed commit message

The system integration now uses the new input system-logs that is just a proxy to instantiate either the log input or journald. That caused the 'input.type' in the final event to contain 'system-logs' instead of 'log' or 'journald'. This PR fixes it buy adding a set step in the ingest pipeline.

The ingest pipeline is used because Beats sets this filed outside of the input code.

Checklist

  • My code follows the style guidelines of this project
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

## Disruptive User Impact
## Author's Checklist

How to test this PR locally

Related issues

## Use cases
## Screenshots
## Logs


This is an automatic backport of pull request #41246 done by [Mergify](https://mergify.com).

The system integration now uses the new input system-logs that is just
a proxy to instantiate either the log input or journald. That caused
the 'input.type' in the final event to contain 'system-logs' instead
of 'log' or 'journald'. This PR fixes it buy adding a set step in the
ingest pipeline.

The ingest pipeline is used because Beats sets this filed outside of
the input code.

Co-authored-by: Pierre HILBERT <[email protected]>
(cherry picked from commit e2815a4)
@mergify mergify bot requested a review from a team as a code owner October 16, 2024 12:25
@mergify mergify bot added the backport label Oct 16, 2024
@mergify mergify bot requested review from AndersonQ and mauri870 and removed request for a team October 16, 2024 12:25
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 16, 2024
@pierrehilbert pierrehilbert added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Oct 16, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 16, 2024
@pierrehilbert pierrehilbert enabled auto-merge (squash) October 16, 2024 12:33
@pierrehilbert pierrehilbert merged commit aa3b0c8 into 8.x Oct 16, 2024
@pierrehilbert pierrehilbert deleted the mergify/bp/8.x/pr-41246 branch October 16, 2024 14:11
@khushijain21 khushijain21 mentioned this pull request Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants