Isn't the phrase from the American Civil War?

"He has seen the elephant" = "he has been in battle"