es相关文档:
https://blog.csdn.net/fz13768884254/article/details/85097140
https://blog.csdn.net/fz13768884254/article/details/85321282
https://blog.csdn.net/fz13768884254/article/details/85758990
https://blog.csdn.net/fz13768884254/article/details/86075714
https://blog.csdn.net/fz13768884254/article/details/86081595
https://blog.csdn.net/fz13768884254/article/details/86223963
在es中创建index和mapping完成后,就可以向其中插入数据,可以使用postman进行post请求插入,也可以使用代码进行操作。
post请求:
url: ip:port/index/mapping
method:post
body:
{
"id": 10097,
"log_id": 10097,
"create_time": "2019-01-08 17:16:15",
"rp": "12386",
"success": 1,
"expansion": 0
}