Maybe you can try adding the fields at the end of your search:
index="test" |geostats latfield=lat longfield=lon latest(cpu) by city | fields - OTHER
As you know, it is not the best practice exclude files after doing your search, but for now you can try this solution.
I hope this will help
... View more