- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
01-03-2013 01:26 AM
Hello Guys,
Just have few questions, is it possible to clear a specific set of logs? e.g. I want to clear the logs from January to March only and retain the logs from April onward. I asked this because some clients do not want to lose all the logs for some reason.
thanks guys.
01-03-2013 09:13 AM
Hi Hart,
It is not possible to clear logs based on a specified date range. Logs are aged out by size and will remove the oldest logs first. You can see the size of your current logs and your total disk space reserved with these two commands in CLI:
> show system logdb-quota
> show system disk-space
Hope this helps!
Greg Wesson
01-03-2013 09:13 AM
Hi Hart,
It is not possible to clear logs based on a specified date range. Logs are aged out by size and will remove the oldest logs first. You can see the size of your current logs and your total disk space reserved with these two commands in CLI:
> show system logdb-quota
> show system disk-space
Hope this helps!
Greg Wesson
01-03-2013 10:58 AM
Hi Hart,
As Greg said there is no command clear the logs partially but as a work around
If you resize the partition, and commit and then size it back after the commit, you should essentially remove the last the oldest logs. For example if you have 1 GB of traffic logs, resize the partition to 500MB, and commit, you will remove the oldest 500MB of logs. But again doing this you might delete the logs that you wanted to keep.
Hopefully this helps.
Thank you
Numan
01-04-2013 07:19 PM
Thanks Greg and Numan,
I understand. I hope in the next OS update the feature will be available.
-hart
01-07-2013 10:04 AM
Hi Hart,
Currently i have checked on the 5.0.1 system as well and this is not available in that OS as well. I would suggest that if you find this useful in your environment you should ask your sales Engineer to file a feature request on your behalf. This way they can track it as well.
Thank you
Numan
07-17-2013 09:08 AM
This is a basic requirement and it's simply amazing that it's not impemented. Incredible.
07-17-2013 09:26 AM
Hi AFN.Paul,
I think you should check with you Sales Engineer so he can verify for you if the feature was filed for it and if it is in plans.
Thanks
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!