I need to know if there is a way to search for certain logs, by the age of that log, and delete it. Reasoning is below.
vRealize Log Insight is a good tool, but the one area where it fails spectacularly is being able to control the retention length for logs. Since vLI uses the available storage as the mechanism to determine what logs to delete or archive (if archive is setup), it is all but impossible to guarantee that a given node will have X days of logs available in the vLI. It also makes vLI very prone to "noisy neighbor" issues, where node X is producing a lot of logs and therefore consuming a lot of disk, and reducing the number/age of logs for node Y. To combat this issue, I was hoping I could run a job where it looks for messages older than X age, and deletes them. This doesn't solve the problem entirely, but it certainly helps. However, there does not appear to be a way to delete a log entry. If there is, I cannot find it.
So to re-ask the question: Is there a way to delete log entries, specifically by searching for log entries older than a certain date?
Thanks for any help.