Skip to content

Conversation

@belimawr
Copy link
Contributor

@belimawr belimawr commented Oct 30, 2024

After discussing with @cmacknz we understood it would be better to revert this PR to not lock in users with the system-logs "proxy input" at the moment.

Proposed commit message

Revert the system module usage of the system-logs input that was enabling it to run the Journald input. The revert is done in the system module configuration, pipelines and documentation. The system-logs input and its tests are kept.

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

Run the tests

mage buildSystemTestBinary
mage docker:ComposeUp
source $(mage PythonVirtualEnv)/bin/activate
INTEGRATION_TESTS=1 BEAT_STRICT_PERMS=false ES_PASS=testing ES_USER=admin TESTING_FILEBEAT_MODULES=system pytest tests/system/test_modules.py

Run the system module

Package filebeat from this PR

# edit modules.d/system.yml and enable both filesets
# edit filebeat.yml and add the ES output and Kibana URL/credentials
./filebeat setup -e -v
./filebeat -e -v

Related issues

## Use cases
## Screenshots
## Logs

@belimawr belimawr added skip-ci Skip the build in the CI but linting Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team labels Oct 30, 2024
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Oct 30, 2024
Revert the system module usage of the system-logs input that was
enabling it to run the Journald input. The revert is done in the
system module configuration, pipelines and documentation. The
system-logs input and its tests are kept.
@belimawr belimawr force-pushed the revert-system-module-with-journald branch from ea61a44 to d09981a Compare October 30, 2024 21:04
@belimawr belimawr removed the skip-ci Skip the build in the CI but linting label Oct 30, 2024
@belimawr belimawr marked this pull request as ready for review October 30, 2024 21:12
@belimawr belimawr requested a review from a team as a code owner October 30, 2024 21:12
@belimawr belimawr requested review from AndersonQ and VihasMakwana and removed request for a team October 30, 2024 21:12
@elasticmachine
Copy link
Contributor

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

@belimawr belimawr requested a review from cmacknz October 30, 2024 21:31
@cmacknz cmacknz added forwardport-main Automated forwardport with mergify backport-8.x Automated backport to the 8.x branch with mergify labels Oct 30, 2024
@belimawr belimawr enabled auto-merge (squash) October 31, 2024 01:46
@belimawr
Copy link
Contributor Author

I've enabled auto-merge

@belimawr
Copy link
Contributor Author

buildkite test this

@belimawr belimawr merged commit 00d7161 into elastic:8.16 Oct 31, 2024
mergify bot pushed a commit that referenced this pull request Oct 31, 2024
Revert the system module usage of the system-logs input that was
enabling it to run the Journald input. The revert is done in the
system module configuration, pipelines and documentation. The
system-logs input and its tests are kept.

(cherry picked from commit 00d7161)

# Conflicts:
#	filebeat/module/system/auth/config/auth.yml
#	filebeat/module/system/syslog/config/syslog.yml
#	filebeat/tests/integration/systemlogs_linux_test.go
mergify bot pushed a commit that referenced this pull request Oct 31, 2024
Revert the system module usage of the system-logs input that was
enabling it to run the Journald input. The revert is done in the
system module configuration, pipelines and documentation. The
system-logs input and its tests are kept.

(cherry picked from commit 00d7161)
pierrehilbert pushed a commit that referenced this pull request Oct 31, 2024
Revert the system module usage of the system-logs input that was
enabling it to run the Journald input. The revert is done in the
system module configuration, pipelines and documentation. The
system-logs input and its tests are kept.

(cherry picked from commit 00d7161)

Co-authored-by: Tiago Queiroz <[email protected]>
pierrehilbert pushed a commit that referenced this pull request Nov 1, 2024
…1490)

* Revert system module support for journald (#41489)

Revert the system module usage of the system-logs input that was
enabling it to run the Journald input. The revert is done in the
system module configuration, pipelines and documentation. The
system-logs input and its tests are kept.

(cherry picked from commit 00d7161)

# Conflicts:
#	filebeat/module/system/auth/config/auth.yml
#	filebeat/module/system/syslog/config/syslog.yml
#	filebeat/tests/integration/systemlogs_linux_test.go

* resolve merge conflicts

* skip system-logs tests

---------

Co-authored-by: Tiago Queiroz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-8.x Automated backport to the 8.x branch with mergify forwardport-main Automated forwardport with mergify 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.

3 participants