Menu

FlowViewer_CleanSiLK not cleaning files for non-default path-format

2017-03-15
2017-03-15
  • Eric van Wiltenburg

    Hi Joe,

    The default SiLK path-format value in the silk.conf file is "%T/%Y/%m/%d/%x". My installation uses "%N/%Y/%m/%d/%x". CleanSiLK properly traverses the directory structure for each sensor and calculates when one has exceeded the allotted storage space, but the removal of the files fails. I believe that is because the removal routine assumes the default path-format.

    Here is a small patch for FlowViewer_CleanSiLK, that seems to work in my case, and what I believe will work on the default and other path-formats.

    Thanks,
    Eric

     

    Last edit: Eric van Wiltenburg 2017-03-15
  • Joe Loiacono

    Joe Loiacono - 2017-04-03

    Many thanks, Eric.

     

Log in to post a comment.