Email Search Fail. How to solve

I'm afraid that's not a full example anyone can copy and paste in Kibana dev console to reproduce your problem. Read again About the Elasticsearch category . It contains an example which shows you what you should provide.