Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Winlogbeat] remove eventlogger #24463

Merged
merged 3 commits into from
Mar 10, 2021

Conversation

marc-gr
Copy link
Contributor

@marc-gr marc-gr commented Mar 10, 2021

What does this PR do?

Removes code related to eventlogger API, which was used for Windows XP, Windows Server 2000 and Windows Server 2003 which are not supported by us or Go anymore.

I added a deprecation warning and a fallback to use the wineventlog api in case someone is using specifically the eventlogger value as an option in the config, but I am tempted to removing it. WDYT?

Also added it in the changelog under Added but doubt if it should go on Breaking changes

Why is it important?

Cleanup dead 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.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@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 Mar 10, 2021
@elasticmachine
Copy link
Collaborator

elasticmachine commented Mar 10, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #24463 updated

  • Start Time: 2021-03-10T12:59:46.765+0000

  • Duration: 64 min 21 sec

  • Commit: a664304

Test stats 🧪

Test Results
Failed 0
Passed 2134
Skipped 26
Total 2160

Trends 🧪

Image of Build Times

Image of Tests

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 2134
Skipped 26
Total 2160

@marc-gr marc-gr force-pushed the winlogbeat_remove_eventlogger branch from bc679f5 to 0026709 Compare March 10, 2021 10:01
CHANGELOG.next.asciidoc Outdated Show resolved Hide resolved
@marc-gr marc-gr force-pushed the winlogbeat_remove_eventlogger branch from 0026709 to d003228 Compare March 10, 2021 12:57
@marc-gr marc-gr merged commit 9552c3a into elastic:master Mar 10, 2021
@marc-gr marc-gr deleted the winlogbeat_remove_eventlogger branch March 10, 2021 14:06
marc-gr added a commit to marc-gr/beats that referenced this pull request Mar 15, 2021
* Rename file

* Remove deprecated eventlogging api and unused code

* Update CHANGELOG.next.asciidoc

Co-authored-by: Andrew Kroh <[email protected]>

Co-authored-by: Andrew Kroh <[email protected]>
(cherry picked from commit 9552c3a)
marc-gr added a commit to marc-gr/beats that referenced this pull request Mar 15, 2021
* Rename file

* Remove deprecated eventlogging api and unused code

* Update CHANGELOG.next.asciidoc

Co-authored-by: Andrew Kroh <[email protected]>

Co-authored-by: Andrew Kroh <[email protected]>
(cherry picked from commit 9552c3a)
marc-gr added a commit that referenced this pull request Mar 15, 2021
* Rename file

* Remove deprecated eventlogging api and unused code

* Update CHANGELOG.next.asciidoc

Co-authored-by: Andrew Kroh <[email protected]>

Co-authored-by: Andrew Kroh <[email protected]>
(cherry picked from commit 9552c3a)
marc-gr added a commit that referenced this pull request Mar 15, 2021
* Rename file

* Remove deprecated eventlogging api and unused code

* Update CHANGELOG.next.asciidoc

Co-authored-by: Andrew Kroh <[email protected]>

Co-authored-by: Andrew Kroh <[email protected]>
(cherry picked from commit 9552c3a)
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
* Rename file

* Remove deprecated eventlogging api and unused code

* Update CHANGELOG.next.asciidoc

Co-authored-by: Andrew Kroh <[email protected]>

Co-authored-by: Andrew Kroh <[email protected]>
(cherry picked from commit 12c8210)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants