Elasticsearch: Reintroduce log tests from frontend (#64521)

* Elasticsearch: Reintroduce log tests from frontend

* Fix linting
This commit is contained in:
Ivana Huckova
2023-03-09 17:20:36 +01:00
committed by GitHub
parent 6f67529a0a
commit 424e33146c
2 changed files with 60 additions and 77 deletions

View File

@@ -150,7 +150,7 @@ func processLogsResponse(res *es.SearchResponse, target *Query, configuredFields
frames := data.Frames{}
frame := data.NewFrame("", fields...)
setPreferredVisType(frame, "logs")
setPreferredVisType(frame, data.VisTypeLogs)
setSearchWords(frame, searchWords)
frames = append(frames, frame)