Hello,
I am using continuous query to rollup data for every 24 hrs
CREATE CONTINUOUS QUERY
"cq_daily"
ON
"test"
BEGIN SELECT sum(
"bytes"
) as
"byte_sum"
,sum(
"duration"
) as
"duration_sum"
,count(
"bytes"
) AS
"total_requests"
INTO
"three_months"
.
"daily_rollups"
FROM
"two_weeks"
.
"requests"
GROUP BY site,time(1d) fill(
0
) END
Now, for the above query, I see two records for the same day
Why do I have 2 records for the same day when I have a group by time as 1d?