Hello Jesús
In order to delimitate your problem could be helpful to verify the following:
- In your Windows Agent, please verify the config file as follow: open Wazuh Agent Manager, click on View, View config and you have to see a configuration like this:
<localfile>
<location>C:\Users\MyUser\AppData\Roaming\MySQL\Folder_of_logs\log\name_of_log.log</location>
<log_format>syslog</log_format>
</localfile>
- In your Windows Agent, please verify the log file as follow: open Wazuh Agent Manager, click on View, View Logs and on the last line of the file, you have to see a line like this:
2017/10/19 16:46:35 ossec-logcollector(1950): INFO: Analyzing file: 'C:\Users\MyUser\AppData\Roaming\MySQL\Folder_of_logs\log\name_of_log.log'.
Please verify that there are no errors in the log file. Also, it's necessary to verify that the agent is correctly connected to the manager. A line like the following one must appear in the log file:
2017/10/19 16:46:35 ossec-agentd(4102): INFO: Connected to the server (192.168.1.50:1514).
- If the previous steps are correct, please verify the status of the Elastic Stack services:
(only if you are using it in a distributed configuration, check filebeat)
service elasticsearch status
All of them have to return a green state as active.
Additionally, you can verify in the following link if the log that you're expecting to receive is included:
If you share the log we can help you in order to determinate what alerts must appear in your Kibana.
Hope it help.
Bes regards,
Alberto R.