Windows filebeat is not shipping logs

Hello,

I have elk stack installed on my ubuntu and everything works fine.
I installed filebeat on windows 8.1 to transfer the log file to elasticsearch (found on ubuntu) and faced with a problem.

When starting the filebeat service with the "start-service filebeat" command in powershell, no data is transferred (no new index appears in kibana) but when I run the command ".\Filebeat.exe -e" in powershell, the new index appears in kibana.
Tell me what am I doing wrong?

My filebeat.yml configuration:
filebeat.inputs:

  • type: log

    enabled: true
    tags: ["windows"]

    paths:

    • c:\log\ test.log

output.logstash:

hosts: ["192.168.168.168:5044"]

This problem is now absent. Perhaps it appeared due to the fact that in the folder where the file for "filebeat.inputs" lay there were files and folders named in Cyrillic. After deleting these files and folders after a while, the problem disappeared.

p.s.
Perhaps this is a coincidence