PuppetDB, change how long it keeps events

21 views
Skip to first unread message

S P Arif Sahari Wibowo

unread,
May 25, 2015, 1:29:50 PM5/25/15
to puppet...@googlegroups.com
Hi!

When I make event request to PuppetDB, it seems that PuppetDB
only keep 2 weeks worth of events. How can I change how long
this 2 weeks to longer period? Will there be any consequences
other than disk space if I do that?

Thank you!

--
____ ____ ____ ____ (stephan paul) Arif Sahari Wibowo
/___ /___/ /___/ /___ http://www.arifsaha.com/
____/ / / / ____/

Ken Barber

unread,
May 26, 2015, 8:27:29 AM5/26/15
to Puppet Users
> When I make event request to PuppetDB, it seems that PuppetDB only keep 2
> weeks worth of events. How can I change how long this 2 weeks to longer
> period? Will there be any consequences other than disk space if I do that?

Change this setting and restart:

http://docs.puppetlabs.com/puppetdb/master/configure.html#report-ttl

Disk space is the main cost, however sometimes larger storage
requirements will sometimes slow down certain queries also, but YMMV.

ken.
Reply all
Reply to author
Forward
0 new messages