Skip to content

Loading the template by default doesn't work on Windows when running as a serivce #1315

Closed
@tsg

Description

The problem is that the Beats look for the template by default in the working directory. When running as a service, the current working directory is set to %WinDir%\System32 or something like that.

Possible solution 1: modify logic to look for the template relative to the path where the binary is.
Possible solution 2: copy the template in C:\programdata\*beat\ and use an absolute path for it.

Workaround: manually load the template

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions