Hi!
I wouldn't rely on this. It looks like a bug that it is in public data and this will probably be gone soon. Generally, the current official answer to the question of "where one can get logs of the search queries for public use" AFAIK is "there's no way to get it without signing papers and going through procedures".
See also: https://meta.wikimedia.org/wiki/Discovery/Data_access_guidelines