1. A method for storing diagnostic data relating to a vehicle, the method comprising the acts of : reading one or more messages, the read messages comprising diagnostic data relating to the vehicle; transmitting the read messages to a buffer memory; transmitting the read messages to an aggregation component; aggregating the read messages by the aggregation component to form an aggregated message; transmitting the aggregated message to the buffer memory; checking whether a predefined fault event occurred during aggregation of the messages by the aggregation component; if a predefined fault event occurred: transmitting the predefined fault event to an extraction component, the predefined fault event comprising at least one predefined rule; executing the at least one predefined rule of the extraction component in order to extract the messages corresponding to the at least one predefined rule from the buffer memory; and storing the extracted messages and the fault event in a data memory, with the result that the extracted messages can be identified using the fault event.