Thank you for your reply.
Lets suppose we have the following sample log:
Timestamp Hostname event
Jul 4 2021 08:40:44 Host1 Failed_Login
________________________
So, the following decoder for this log as below:
<regex>(\w+\s\d+\s\d+\s\d\d:\d\d:\d\d) (\S+) (\S+)</regex>
<order>timestamp,hostname,event</order>
_________________________
I edited ossec.conf to instruct Wazuh to read these logs from a specific folder as follow:
<localfile>
<location>/var/log/example.log</location>
<log_format>syslog</log_format>
</localfile>
_________________________
When Wazuh load logs from
/var/log/example.log , unfortunately, the timestamp here is the time whenever the log file "example.log" loaded in the system, not the actual log timestamp which is "Jul 4 2021 08:40:44" as illustrated within the attached Kibana snapshot