Audit Table/Logs

Guys,

We have 7.2GB or 876k odd audit records in our DB atm. Is there a preferred
method of cleaning these logs routinely?

We've found the Reports rake job but nothing similar for the Audit logs…

Regards
Matt

No preferred way, simply dump them out of the SQL database using tools
of your choice. Rather than deleting, I'd suggest exporting them first
in case you need to search them in the future.

Feel free to post how you did it to the list.

LZ

··· On Mon, Nov 7, 2016 at 1:54 AM, Matthew Wilmott wrote: > Guys, > > We have 7.2GB or 876k odd audit records in our DB atm. Is there a preferred > method of cleaning these logs routinely? > > We've found the Reports rake job but nothing similar for the Audit logs.... > > Regards > Matt > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Later,
Lukas @lzap Zapletal