Wazuh and AI: investigating a change on a production server
A monitored file has changed. Was it an approved release or an intruder? Follow the evidence from a Wazuh alert to an analyst’s decision, with and without AI.

On Monday morning, the on-call analyst sees that an application configuration file has changed on a production server. An approved release and someone using a compromised account could both produce that alert. Should the analyst wait for the application owner to respond or call the incident team immediately? Answering that question starts with understanding what Wazuh actually observed.
Read the event before drawing up a timeline
Wazuh is an open-source SIEM and XDR platform. Agents collect endpoint data, and the server applies decoders and rules to security events. The indexer stores alerts so analysts can investigate them in the dashboard. These capabilities work independently of a language model.
In this case, File Integrity Monitoring (FIM) recorded a change to a checksum or another monitored file attribute. Check how the directory is monitored. With a periodic scan, the alert time can be the time of discovery. An analyst who inspects only the minute before the alert could miss a deployment several hours earlier. The previous scan provides a useful starting point.
Vulnerability Detection supplies a different piece of evidence. It compares software inventory with information about known vulnerabilities. A vulnerable package on an internet-facing server can move an investigation up the queue. Its presence alone cannot establish how a configuration file changed.
Give the model a bounded question
Collect sign-in events, package manager activity and deployment records for the relevant period. Obtain the approved change ticket from the team’s change management system. A useful task for a model is to arrange these records in time order, attach a source reference to each observation, and identify questions the supplied records cannot answer.
Suppose the maintenance window and server match the change ticket, but the ticket authorises a different file. The analyst now has a specific question for the application owner. If sign-ins are missing altogether, first check whether the authentication log was available for that period. A fluent summary might describe both situations as uneventful. One calls for a discussion about the scope of the release, the other for a check on monitoring coverage.
Choose where the analysis runs
AI Analyst is a Wazuh Cloud service. It provides periodic assessments and recommendations based on data from a Cloud subscription. For self-hosted deployments, Wazuh also documents an example that connects event archives to a locally hosted model through Ollama. That approach adds software to maintain, compute requirements and a new decision about who can query the underlying records.
For a pilot, give the model read-only access to selected fields. Remove secrets and keep the original records available to authorised analysts. Test past incidents alongside routine changes. Measure how long it takes to verify a summary, how often it identifies a gap in the evidence, and whether it attributes activity to a person without a supporting record. Those results help a shift lead decide which cases benefit from assisted triage. A decision to isolate a production host should remain with someone authorised to weigh the disruption against the evidence.


