Disable stat when without output elasticsearch