Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mismatch in Timestamps Between ossec.log on Server and Web Interface #6563

Open
sakib789 opened this issue Mar 27, 2024 · 0 comments
Open

Mismatch in Timestamps Between ossec.log on Server and Web Interface #6563

sakib789 opened this issue Mar 27, 2024 · 0 comments
Labels
component/modules Issues related to the App modules, and its handling level/task Task issue platform/wazuh Affects the application when deployed on the Wazuh-Dashboard platform. reporter/community Issue reported by the community type/bug Bug issue

Comments

@sakib789
Copy link
Member

sakib789 commented Mar 27, 2024

Wazuh version Component Install type Install method Platform
4.7.3 - Manager - Ubuntu22.04

Dear Team,

While working with this community, I've observed a notable time variance between the timestamps recorded in the ossec.log on the server and those displayed in the web interface for the same log.

Firstly, when accessing the ossec.log directly on the server at /var/ossec/log/ossec.log, I'm able to view the logs in real-time, as depicted in the accompanying image.
image

Furthermore, I've also explored accessing logs in real-time via API requests from both the server and the web interface(API Console), as illustrated in the provided images.
image
image

My Wazuh server is configured to record logs in local time.
image

Despite my attempts to align the time settings on the web interface with both browser time and local time, I consistently encounter a discrepancy where the timestamps displayed for ossec.log in the web interface appear to be ahead of my local time, regardless of whether it's in UTC or local time.
image

I kindly request your assistance in investigating and sharing your insights into this matter.

@snaow snaow added the level/task Task issue label Apr 1, 2024
@snaow snaow transferred this issue from wazuh/wazuh Apr 1, 2024
@snaow snaow added type/bug Bug issue component/modules Issues related to the App modules, and its handling reporter/community Issue reported by the community platform/wazuh Affects the application when deployed on the Wazuh-Dashboard platform. labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/modules Issues related to the App modules, and its handling level/task Task issue platform/wazuh Affects the application when deployed on the Wazuh-Dashboard platform. reporter/community Issue reported by the community type/bug Bug issue
Projects
None yet
Development

No branches or pull requests

2 participants