On Mon, Oct 31, 2016 at 10:55 AM, <[email protected]> wrote: > Hi, i'm looking to put a wildcard in the tag <directories> and saw that you > can use strftime. But it is not working in <directories> tag. Someone would > have any idea to give me. > > It would, for example the following: > <directories check_all = "yes"> /var/ossec/logs/archives/%Y</ directories> > > In the logs: > ossec-syscheckd: INFO: Monitoring directory '/var/ossec/logs/archives /%Y' > > I want to monitor the /var/ossec/logs/archives/2016 but do not want to put > the year, but some wildcard. > > Can anyone help? >
I don't think OSSEC supports strftime int he directories option. > > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "ossec-list" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
