I'm guessing bogged in this context is similar to being flogged, or being beaten physically. Bamboo might literally mean bamboo stalks, but it might also just mean any kind of stick. They probably used the phrase "bogged with bamboos" to sound more interesting (look up alliteration, it's used often in writing).