mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-05 16:06:51 +08:00
1
This commit is contained in:
@@ -3,7 +3,6 @@ package es
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@@ -93,8 +92,6 @@ func (e *esSearch) Search(req model.GetLogReq, filterProcessName ...string) mode
|
|||||||
case sr.NotWildCard:
|
case sr.NotWildCard:
|
||||||
notQuery = append(notQuery, elastic.NewWildcardQuery("log.keyword", "*"+v.Content+"*"))
|
notQuery = append(notQuery, elastic.NewWildcardQuery("log.keyword", "*"+v.Content+"*"))
|
||||||
}
|
}
|
||||||
fmt.Printf("v.Cond: %v\n", v.Cond)
|
|
||||||
fmt.Printf("v.Content: %v\n", v.Content)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if req.Match.Name != "" {
|
if req.Match.Name != "" {
|
||||||
|
Reference in New Issue
Block a user