【发布时间】:2018-07-19 09:34:31
【问题描述】:
我在 linux 终端中输入以下命令:
curl -XGET http://something_here.net:5005
我得到: var hashRoute = '/app/kibana'; var defaultRoute = '/app/kibana';
var hash = window.location.hash;
if (hash.length) {
window.location = hashRoute + hash;
} else {
window.location = defaultRoute;
然后我尝试: curl -XGET http://something_here.net:5005/_all/_mappings
我得到: {"statusCode":404,"error":"Not Found","message":"Not Found"}
我尝试在 Elastic Search 中编写相同的命令(ES 自动删除关键字并替换为 )。我确实收到了结果!
{
"statistic-[...]": {
"mappings": {
"statistic": {
"properties": {
[...]
为什么我在 Linux 中通过 curl 没有得到相同的结果?
【问题讨论】:
标签: linux elasticsearch curl