doc: add documentation for date modifiers in eve-log

pull/2655/head
Mats Klepsland 8 years ago committed by Victor Julien
parent 37a12fe799
commit 8b9f84bff2

@ -203,6 +203,21 @@ enabled, then the log gets more verbose.
By using ``custom`` it is possible to select which TLS fields to log. By using ``custom`` it is possible to select which TLS fields to log.
Date modifiers in filename
~~~~~~~~~~~~~~~~~~~~~~~~~~
It is possible to use date modifiers in the eve-log filename.
::
outputs:
- eve-log:
filename: eve-%s.json
The example above adds epoch time to the filename. All the date modifiers from the
C library should be supported. See the man page for ``strftime`` for all supported
modifiers.
Rotate log file Rotate log file
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~

Loading…
Cancel
Save