In some dogs, the mucus plug causes a discharge throughout the pregnancy.
If the entire plug comes out of the of the vagina, that indicates that puppies will arrive soon, but how soon varies by the animal.
For some dogs, it is just a matter of hours, while in others the birth process won't start for a few days.