We're trying to remove data from within the OSSEC Database that are older than a specific date, but we can't find a tool that would
remove that data easily without harming the rest of the database.
Is there a query of some sort we could run, so as to gather the data we're interested in and remove them afterwards?
This might be a stupid question but I'm no MySQL Administrator or 'that' experienced at all.
Kind regards,
Dimitris
Hey Tanishk,
I'm OK with the log files, it's the database I'm trying to remove older events from.
Dimitris
It seems to me that data regarding events are stored/referenced in multiple tables.
This stops me from just deleting data from a single table as it could affect the rest of the data inside the other tables and end up
with an out-of-sync database.
Unless I'm horribly mistaken that is.
Can any of you guys comment on "how" data should be removed from the Database? Is what Dan suggests sufficient or should we come up
with a 'join' and/or 'view' and delete data from there and not directly from a single table?
Dimitris
-----Original Message-----
From: ossec...@googlegroups.com [mailto:ossec...@googlegroups.com] On Behalf Of dan (ddp)
Sent: Tuesday, February 22, 2011 03:52
To: ossec...@googlegroups.com
Subject: Re: [ossec-list] How to purge/remove/delete data older than a specific date from within the database
--
---
You received this message because you are subscribed to the Google Groups "ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.