What does "bogy" mean?

Bogy: A specter; a hobgoblin; a bugbear. "Death's heads and bogies." J. H. Newman. [Written also bogey.] There are plenty of such foolish attempts at playing bogy in the history of savages. C. Kingsley.

Sources