Techniques for storing electrograms (EGMS) that are associated with sensed episodes or events that may be non-physiological and, instead, associated with a sensing integrity condition are described. In some examples, a device or system identifies suspected non-physiological NSTs, and stores an EGM for the suspected non-physiological NSTs within an episode log. In some examples, a device or system determines whether to store an EGM for a suspected non-physiological episode or event based on whether an impedance integrity criterion has been satisfied. For example, a device or system may store an EGM for a detected short interval if the impedance integrity criterion has been met. In some examples, a device or system determines whether to buffer EGM data based on whether an impedance integrity criterion or other sensing integrity criterion has been met.