yxbbing
2017-11-25 08:42Elasticsearch 6.0 curl 导入 Kibana 示例数据出错,求救
按照官网的示例 导入数据 三个json格式数据文件 shakespeare.json, accounts.json, logs.jsonl
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/bank/account/_bulk?pretty' --data-binary @accounts.json
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/shakespeare/doc/_bulk?pretty' --data-binary @shakespeare_6.0.json
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/_bulk?pretty' --data-binary @logs.jsonl
网上搜索没有找到解决方式
"error" : "Content-Type header [application/x-www-form-urlencoded] is not supported",
"status" : 406
- 点赞
- 回答
- 收藏
- 复制链接分享
4条回答
为你推荐
- Elasticsearch查询不出数据
- elasticsearch
- 4个回答
- Elasticsearch怎么在项目/业务中使用?
- spring
- java
- elasticsearch
- 1个回答
- Elasticsearch查询:通过比较值列表选择文档(golang)
- elasticsearch
- 1个回答
- 如何使用Golang将数据导入Elasticsearch
- elasticsearch
- 1个回答
- Elasticsearch - 与不同客户的不同结果
- curl
- elasticsearch
- php
- 1个回答
换一换