1、通过Kibana添加一条数据:
PUT /test_index/test_type/1
{
"test_content":"test test"
}
执行后的效果如下:
获取数据:
PUT /test_index/test_type/1
{
"test_content":"test test"
}
显示效果:
结果内容是:
{
"_index": "test_index",
"_type": "test_type",
"_id": "1",
"_version": 1,
"found": true,
"_source": {
"test_content": "test test"
}
}