This sounds like anal fistulas. Unfortunately they are common in gsds. There are many threads on this board about managing them. I would ask a mod to change your title to Anal Fistulas so that some of the people who have experience can help you.
Ruth & the 4 Legged Rescue Gang
Rafi the malaroo
Gio & Varda, the krazy kittens
....In my heart: