When I add level to any name, Application, Security or System, to only get those level events, the connection from the server in question, Windows Server 2008, breaks. Removing the level, and the connection comes back.
config snip;
winlogbeat.event_logs:
Are you sure that it's not working? Or is it just that there are very few events with level:error or level:warning. Looking at my events, the vast majority are information.
Use the Windows Event Viewer to verify that events with level error, warning, or critical exist.
Stop Winlogbeat.
Backup and then delete/move the registry file at C:\ProgramData\winlogbeat\.winlogbeat.yml so that it starts reading from the beginning of each event log.
Remove ignore_older from the config file.
Add tags: [level_test] to the config file so that it's easy to identify events from this test in Elasticsearch.
Add level: critical, error, warning to each of the event_logs in your config file.
Start Winlogbeat and see if any events are written to Elasticsearch.
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.