Defoes version was a novel, though written in the form of a diary (it may have been based on the diary of his uncle apparently) so which bits are accurate and which are inventions of the author are tricky to determine.
Samuel Pepys was another diary writer at that time. Pretty interesting read, and you can get a quick overview of how much he was occupied by the plague from the following site: