Elastic Search is crashing after I add the metrics{ } in filters and format => ... in output

Oops, I think I see the problem. This is not the config that I am using . Let me update the config.