Network Management

Reply
Occasional Contributor II

AirWave System Event Log Data Retention/History only 1 day

Hi Community

 

I haven't found an option to set the data retention for amp system event logs. The event log under System -> Event Log goes back for about 14 hours but not more.

 

Is there a possibility to set the log retention for this log?

 

 

Greetings

Marc

Moderator

Re: AirWave System Event Log Data Retention/History only 1 day

The retention shouldn't be limited for that log.  On my lab AMP, I have entries that date back to the installation date.

 

Try grabbing the diagnostics tarball from the System -> Status page (the diagnostic tarball link is near the top of the page).  When you extract it, there should be a var.log.system.amp_events which is the log that displays on System -> Event Log.  If it's showing more data than you saw from the UI, it's possibly a browser caching issue.  If the log is really only showing 14hrs, then a support case should be opened to investigate.

 

In the latter case, you could try a few things before opening a support case:

1) try restarting the AMP services (this restarts the logging processes)

2) check disk space

 


Rob Gin
Senior QA Engineer - Network Services
Aruba Networks, a Hewlett Packard Enterprise Company
Occasional Contributor II

Re: AirWave System Event Log Data Retention/History only 1 day

Info: I checked this on two different installations.

 

I downloaded the tarball and checked the var.log.system.amp_events log. One of the log goes back about 48h the other about 14h. The log files are 227 and 446 KB.

 

Due to a memory upgrade I rebooted both but the log now goes back about 8h.

Moderator

Re: AirWave System Event Log Data Retention/History only 1 day

there is a log rotation mechanism so that the logs don't run away utilizing all the disk.  check to see if there's a *.1 or *.2 log fo the same title that has the additional history.


Rob Gin
Senior QA Engineer - Network Services
Aruba Networks, a Hewlett Packard Enterprise Company
Occasional Contributor II

Re: AirWave System Event Log Data Retention/History only 1 day

Hi Rob

 

I checked the files with a search there's only one file without a counting number.

 

I will create a case if we need these logs again.

 

 

Best Regards

Marc

Moderator

Re: AirWave System Event Log Data Retention/History only 1 day

Sounds good.  It may be that the logging mechanism needs to be restarted.  If you do open a support case, they can restart rsyslog in the background so that you don't have to do a full reboot or any other halting operations.


Rob Gin
Senior QA Engineer - Network Services
Aruba Networks, a Hewlett Packard Enterprise Company
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: