have the rag on vs the flag is up

have the rag on

the flag is up

How often have the words have the rag on and the flag is up occurred in a corpus of books? (source: Google Ngram Viewer )