Logging Raw GPS Data using PX4

Hi everyone,

Im trying to log the raw GPS data on the Pixhawk 4 using the PX4 autopilot. I have Here+ with a M8P ublox chip. I already found some information on enabling the raw gps message in ublox and I can save it using ublox and then post process using rtklib. But I have no idea how I can save this data using the pixhawk/px4. Has anyone an idea?
Thank you :slight_smile: