diff --git a/cmd/analyze.go b/cmd/analyze.go index 5dac4b0..812098d 100644 --- a/cmd/analyze.go +++ b/cmd/analyze.go @@ -99,7 +99,7 @@ var AnalyzeCmd = &cobra.Command{ client := internalHTTP.DefaultClient(&DefaultProfile) query := `with distinct_name as (select distinct(\"involvedObject_name\") as name from \"k8s-events\" where reason ilike '%kill%' or reason ilike '%fail%' or reason ilike '%back%') select reason, message, \"involvedObject_name\", \"involvedObject_namespace\", \"reportingComponent\", timestamp from \"k8s-events\" as t1 join distinct_name t2 on t1.\"involvedObject_name\" = t2.name order by timestamp` - allData, err := duckdb.QueryPb(&client, query, "2024-11-11T00:00:00+00:00", "2024-11-21T00:00:00+00:00") + allData, err := duckdb.QueryPb(&client, query, "2024-11-11T00:00:00+00:00", "2024-11-27T00:00:00+00:00") s.Stop() if err != nil { log.Printf(red+"Error querying data in Parseable: %v\n"+reset, err)