Replies inline.
On Tue, Sep 2, 2014 at 4:51 AM, Kostas Athanasiou
<
kostas.at...@gmail.com> wrote:
> Hi Doug,
>
> Thanks for that. My question is relating to days. i.e. currently my DAYSTOKEEP=181
DAYSTOKEEP relates to the Sguil database (securityonion_db) and has
nothing to do with ELSA logs or pcap files.
> Is it possible to keep ELSA logs for 181 days
Take a look at the following settings in /etc/elsa_node.conf (in
addition to the log_size_limit setting mentioned previously):
"Archive/days: Max number of days to retain logs for in the archive
Sphinx/days: Max number of days to retain logs for in the indexes"
https://code.google.com/p/enterprise-log-search-and-archive/wiki/Documentation#elsa_node.conf:
> but delete pcap files after 1 day?
To delete pcap files after 1 day, you could simply write a cron job
that would remove any old pcap directories.