[Oisf-users] About the ever-growing stats.log

Peter Manev petermanev at gmail.com
Wed Apr 29 07:17:24 UTC 2015


On Wed, Apr 29, 2015 at 12:00 AM, James Moe <jimoe at sohnen-moe.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>   linux 3.16.7-21-desktop x86_64
>   suricata 2.0.7
>
>   Suricata appends cumulative statistics to <stats.log> at intervals
> defined in <suricata.yaml>. The default interval value of 8 seconds
> means the file grows quickly.
>   What is the reason for such frequent updates?
>   Is there a way to prevent the data being appended? I.e., overwrite
> the file every time?

.....

  - stats:
      enabled: yes
      filename: stats.log
      append: no



>
> - --
> James Moe
> moe dot james at sohnen-moe dot com
> 520.743.3936
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iEYEARECAAYFAlVAAwIACgkQzTcr8Prq0ZO2CgCgoKa+xxbO7a7tCA4vyyT4dvne
> lPwAoIatfVvqs3ZKqcj+Cd583NES3XwS
> =aivf
> -----END PGP SIGNATURE-----
> _______________________________________________
> Suricata IDS Users mailing list: oisf-users at openinfosecfoundation.org
> Site: http://suricata-ids.org | Support: http://suricata-ids.org/support/
> List: https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
> Suricata User Conference November 4 & 5 in Barcelona: http://oisfevents.net



-- 
Regards,
Peter Manev



More information about the Oisf-users mailing list