Continuous queries do not operate on historical data. They only go back as
far from now() as the RESAMPLE FOR
<https://docs.influxdata.com/influxdb/v0.13/query_language/continuous_queries/#the-create-continuous-query-statement>
clause describes.

Instead you need to use the INTO
<https://docs.influxdata.com/influxdb/v0.13/query_language/data_exploration/#downsample-data>
clause
to backfill historical data.

On Wed, Jun 29, 2016 at 1:18 PM, <[email protected]> wrote:

> Hi,
>
> I'm trying to create a continuous query with  a retention policy for a
> database. I did this case study
>
>
> https://docs.influxdata.com/influxdb/v0.13/guides/downsampling_and_retention/
>
> inserting just a few dates without change the time, and it's work perfect !
>
> But now i'm doing some inserts with different time (if you see it is some
> years ago), something like this:
>
> 2014-05-05T04:49:01Z
>
> now the downsampled_measurement doesn't exist (Have never created), and i
> don't know why. What can i do ?
>
> Thanks,
> Carlos M.
>
> --
> Remember to include the InfluxDB version number with all issue reports
> ---
> You received this message because you are subscribed to the Google Groups
> "InfluxDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/influxdb.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/influxdb/80b495cf-1c96-4aec-a4d8-057a0ab38fe1%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Sean Beckett
Director of Support and Professional Services
InfluxDB

-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/CALGqCvOU2kE6jOissHYhtbmpKFis_-2Zgf3XfdABehMNaj5rBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to