These data show that the loss of STAT1 signaling in macrophages does not prevent dysbiosis but rather specifically impairs the extent to which Enterobacteriaceae contribute to this dysbiosis and that during infection, IFN-γ signaling and nitric oxide production in macrophages are key events that lead to a specific shift in microbiome composition. Here, IFNG is linked to infection.