When I try to run the winlogbeat.exe executable as a service, it fails. When I try to run it from command line, I obtain this answer:
C:\Program Files\Winlogbeat>winlogbeat.exe -c winlogbeat.yml
This version of C:\Program Files\Winlogbeat\winlogbeat.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
C:\Program Files\Winlogbeat>
If I review the Event Viewer of Windows, I see:
Source: Application\Wow64 Emulation Layer
Details: The program or feature "??\C:\Program Files\Winlogbeat\winlogbeat.exe" cannot start or run due to incompatibity with 64-bit versions of Windows. Please contact the software vendor to ask if a 64-bit Windows compatible version is available.
I tried WinLogbeat in another Windows Server, 2008 R2, with the same result that I'm showing in this post.
Now, the ".\winlogbeat.exe -c .\winlogbeat.yml" run ok, but ".\winlogbeat.exe -c .\winlogbeat.yml -configtest -e" give me this error:
2016/02/29 09:10:22.950039 beat.go:80: CRIT Config error: Error validating configuration file. 1 error: At least one event log must be configured as part of event_logs
I alredy have configured the event_logs types in winlogbeat.yml:
event_logs:
- name: Application
- name: Security
- name: System
I cannot say what the problem is without seeing your full config. With YAML, usually the problem is indentation. That error is telling you that Winlogbeat did not find your event_logs list so it's probably in the wrong place or the spacing is wrong.
The config file Winlogbeat ships with works, so start with it and then make small incremental changes. Or start from config in the Getting Started guide, it also works.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.