一 kibana
kibana可视化管理 ,地址 http://172.18.3.94:5601/(测试环境kibana地址)
二 新增数据操作
2.1 建立索引
#number_of_shards 分片数量
#number_of_replicas 副本数量
PUT /blog
{
“settings”:{
“index”:{
“number_of_shards”:5,
“number_of_replicas”:1
} } }
jmeter脚本 创建索引
create-index.jmx
2.2 新增类型
PUT /blog2/ariticle/1 # put /索引名/类型名/id
{
“name”:“zs”,
“title”:“张三”,
“age”:18,
“created”:“2018-12-25”,
“type”:“text”,
“fields”:{
“keyword”:{
“type”:“keyword”,
“ignore