A system that collects statistics and auditing information may receive a first request from an analytics application to access a first set of data. An application program interface (API) of the system may access the first set of data within an in-memory buffer of the system. The first set of data may be retained within the in-memory buffer as defined by a policy. The policy may include retaining the first set of data within the in-memory buffer even after the first set of data is written to non-volatile storage.