You cannot create a retention policy without running the CREATE DATABASE or
CREATE RETENTION POLICY query command. The "retention-policy" config
parameter accepts a string that describes the target retention policy, not
a duration.

On Mon, Jun 20, 2016 at 9:14 PM, Michael Tidwell <[email protected]>
wrote:

> Hello,
>
> I'm trying to make the default retention policy 60 days.
>
> I'll start influxdb via: influxd -config /etc/influxdb/influxdb.conf
>
> where influxdb.conf contains:
>
> [[graphite]]
>
>   enabled = true
>
>   # database = "graphite"
>
>   database = "load_test"
>
>   bind-address = ":2003"
>
>   protocol = "tcp"
>
>   consistency-level = "one"
>
>   name-separator = "."
>
>   retention-policy = "1440h0m0s"
>
>
> I've tried making retention policy = "60d"  but that didn't seem to work
> either.
>
>
> Any advice would be greatly appreciated.  I am aware they I can CREATE and
> ALTER the retention policy.  I want to make it with the creation of the
> Database.
>
> Thanks,
>
> Michael
>
> --
> 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/3ea5a519-3fe1-4b4c-abaa-80739b8a6067%40googlegroups.com
> <https://groups.google.com/d/msgid/influxdb/3ea5a519-3fe1-4b4c-abaa-80739b8a6067%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CALGqCvPwFFCLEMr1fP_-Q0oj%2Bb8Fp%2BPpASR%3DSuuwqFYoQwM2Rw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to