Kibana-查找http URL
我有一个包含URL的字段,希望筛选以“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://" } } 我总是得到空的结果 不支持弹性搜索中的正则表达式标记^$。 您
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://.*"
}
}
}