-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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/Windows Services: changed default keystore path to program files #37237
Conversation
💚 CLA has been signed |
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
/test |
Already signed the contributor agreement, not sure what I've done wrong |
Co-authored-by: Lee E Hinman <[email protected]>
/test |
did the email address you signed with match the email address in GitHub? That is the most common problem. |
/test |
Thanks, all done. |
@leehinman is it ready to be merged? (from what I can observe yes but prefer to double check). |
… files (elastic#37237) * added keystore.path config to Windows service --------- Co-authored-by: Gustavo Freddo Breunig <[email protected]> Co-authored-by: Lee E Hinman <[email protected]>
Proposed commit message
If the user install winlogbeat accordingly the official documentation (executing install-service-winlogbeat.ps1), winlogbeat service will search for the keystore file into ProgramData (C:\ProgramData\winlogbeat), but, to create a keystore, it is expected to execute
winlogbeat.exe keystore add
inside Program Files, so, winlogbeat put the keystore into.\data
(C:\Program Files\data)
Setting keystore path to
$workdir
(c:\program files)
for any beats running as Windows Services solves this problem and don't affect users who do not use a keystore.Version:
winlogbeat version 8.11.1 (amd64), libbeat 8.11.1
O.S: Windows
Related to issue #12315, which is stalled for many years.
Checklist
My code follows the style guidelines of this projectI have commented my code, particularly in hard-to-understand areasI have added tests that prove my fix is effective or that my feature worksCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test this PR locally
mage package
Related issues
#12315