Wireless Access

last person joined: 21 hours ago 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

Aruba conroller logs retention

This thread has been viewed 6 times
  • 1.  Aruba conroller logs retention

    Posted Aug 20, 2014 11:06 AM

     

    how long controllers will maintain logs in the internal storage ?

     

    how often historical data (such logs) are removed?



  • 2.  RE: Aruba conroller logs retention

    EMPLOYEE
    Posted Aug 20, 2014 11:11 AM
    It varies based on how much logging you have turned up. It's always recommended to use a syslog server.


  • 3.  RE: Aruba conroller logs retention

    Posted Aug 20, 2014 12:48 PM

    That's right!

     

    then it is correct to say that the limit is the size of the storage?

     

    as shown in the "show storage" command?

     

    or there is some other limiting factor?



  • 4.  RE: Aruba conroller logs retention
    Best Answer

    EMPLOYEE
    Posted Aug 20, 2014 01:39 PM

    yes it is limited in size.  I don't know what that is though, but pretty sure it is not dependant on free space in flash.

     

    Basically if you have lots of logging enabled, they can get flushed out fairly quickly.



  • 5.  RE: Aruba conroller logs retention
    Best Answer

    Posted Aug 20, 2014 02:42 PM

     

    If you untar a "tar logs tech-support" this will give you an idea of which logs are kept and for

    how many Kbytes the buffer keeps them.  Different things, corresponding roughly

    to the different "show log" subcommands are kept with different sized buffers.

     

     



  • 6.  RE: Aruba conroller logs retention

    Posted Aug 20, 2014 03:05 PM

    Thank you bjulin!

     

    I'm going to check "the tar logs tech-support" file  to have a better idea about how many Kbytes the buffer keeps.

     

    Regards,



  • 7.  RE: Aruba conroller logs retention
    Best Answer

    EMPLOYEE
    Posted Aug 20, 2014 06:42 PM

    everton.cacau@nct.com.br wrote:

     

    how long controllers will maintain logs in the internal storage ?

     

    how often historical data (such logs) are removed?


    everton.cacau,

     

    There is a log kept for every process.  For each process where a log is generated by "tar logs tech-support", 96k of each log is kept before it is rolled over to a second and a third log for each process.  If you download the logs.tar, under var>Log>oslog, you will see a list of those logs.  Each time a log rolls, you will see a  log.1 or a log.2 annotation to see that it has rolled and each segment will be no more than 96k.  There will only be a maximum of 3 of these segments (e.g. user.log, user.log.1, user.log.2).  Below is a picture of part of the Var>Log>oslog directory from a busy controller.

    log.png

     

    I hope that answers your question;