Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/sharepoint/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Kibana-查找http URL_Kibana - Fatal编程技术网

Kibana-查找http URL

Kibana-查找http URL,kibana,Kibana,我有一个包含URL的字段,希望筛选以“http://”开头的所有URL 我不知道该怎么做。 我试着作为一个过滤器: scan.domain.url : http\://* scan.domain.url : "http\://*" scan.domain.url : /^http\:\/\// 然后我还尝试了查询DSL { "regexp": { "scan.domain.url": "^http://" } } 我总是得到空的结果 不支持弹性搜索中的正则表达式标记^$。 您

我有一个包含URL的字段,希望筛选以“http://”开头的所有URL

我不知道该怎么做。 我试着作为一个过滤器:

scan.domain.url : http\://*
scan.domain.url : "http\://*"
scan.domain.url : /^http\:\/\//
然后我还尝试了查询DSL

{
  "regexp": {
    "scan.domain.url": "^http://"
  }
}

我总是得到空的结果

不支持弹性搜索中的正则表达式标记^$。 您需要搜索整个字符串(关键字)。文本在标记中被打断,因此完整的url在弹性搜索中不可用

GET employer/_search
{
  "query": {
    "regexp": {
      "scan.domain.url.keyword": "http://.*"
    }
  }
}