From e022ef9a08b9febb333d043f7b2c09b00c697584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Senart?= Date: Tue, 30 Jan 2024 00:21:19 +0100 Subject: [PATCH] back to legacy --- axiom/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axiom/run.go b/axiom/run.go index d16bc8d4a..5acbe1538 100644 --- a/axiom/run.go +++ b/axiom/run.go @@ -240,7 +240,7 @@ func (c *axiomClient) do(ctx context.Context, rawURL string, id int, body, v any func (c *axiomClient) query(ctx context.Context, id int, aplQuery string, noCache bool) (*aplQueryResponse, *http.Response, error) { uri := *c.apiURL uri.Path = path.Join(uri.Path, "v1/datasets/_apl") - uri.RawQuery = fmt.Sprintf("nocache=%t&format=tabular", noCache) + uri.RawQuery = fmt.Sprintf("nocache=%t&format=legacy", noCache) body := struct { APL string `json:"apl"`