创建索引 定义一个日志,记录简单的header,ip,message,stype 通过本索引来介绍基本的查询语法。 PUT log { "mappings": { "properties": { "request_body":{