In the current study, mice infected with K. pneumoniae had higher serum IFN-γ levels, but when the microbiota or its metabolites were absent, the serum IFN-γ level failed to increase despite infection. Here, IFNG is linked to infection.