Dear,
I'm so sorry for the late response.
I'm using:
OS:
CentOS 7
Wazuh manager: 4.1.0
Kibana: 7.10.0
Open Distro for Elasticsearch: 7.10.0
......................................................................
For more explanation, In Wazuh
manager I configured the collection of log data from files by editing ossec.conf
to
<localfile>
<log_format>syslog</log_format>
<location>/var/log/*</location>
</localfile>
Logs files are put within the mentioned directory periodically, and
parsed with Wazuh PAM decoder-Natively-
Lets say that we have the following log:
2021-07-27T22:00:01.669288+03:00 linux cron[235768]:
pam_unix(crond:session): session opened for user root by (uid=0)
after loading this log into Wazuh, the following screenshot of
var/ossec/logs/alerts/alerts.json displays:
Kibana screenshot:
We can see the timestamp of the actual log is (2021-07-27T22:00:01) And the
timestamp (when the log is loaded) is Jul 28, 2021 @ 13:36:21.089
The conclusion: I need the "timestamp procedure" to be as the timestamp.
Best Regards,