diff --git a/backend/pkg/services/log/service_get_log_parse_rule.go b/backend/pkg/services/log/service_get_log_parse_rule.go index 6bda8fb..d860079 100644 --- a/backend/pkg/services/log/service_get_log_parse_rule.go +++ b/backend/pkg/services/log/service_get_log_parse_rule.go @@ -13,7 +13,7 @@ var routeReg = regexp.MustCompile(`\"(.*?)\"`) func getRouteRuleMap(routeRule string) map[string]string { res := make(map[string]string) - lines := strings.Split(routeRule, "\n") + lines := strings.Split(routeRule, "&&") for _, line := range lines { if line == "" { continue