Logger database

Hello,

Is there any script available to delete log data older than certain date from the Logger database? Deleting through integration monitor is very slow and times out many times.
I am using ES 5.0.1.

Regards,
-VT