How to view EKF position resets in logs?

Would like to see how often the EKF position resets to the GPS position during a flight. What tree and parameter in a log has this info? The variable that governs how often the EKF resets is EK2_GLITCH_RAD.

An explanation of the EKF-related log fields are documented here and here.

I believe what you’re looking for is EK4.OFN and EK4.OFE. These are offsets in north and east directions which are nonzero whenever the GPS glitch radius is exceeded. The detailed explanation is here.