To correlate events across many systems and keep records safe from tampering by an intruder who compromises a host, an…