Skip to content

Commit

Permalink
Add a short example for UNIX timestamp extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
rsommer committed May 5, 2022
1 parent 8238cef commit d775f3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ Features
(?P<second>\d{2})?
)?

If your files are for example suffixed with UNIX timestamps, you can specify a
regular expression exposing a named capture group ``unixtime`` like this::

# Use UNIX timestamps
(?P<unixtime>\d+)

**All actions are logged**
Log messages are saved to the system log (e.g. ``/var/log/syslog``) so you
can retrace what happened when something seems to have gone wrong.
Expand Down

0 comments on commit d775f3c

Please sign in to comment.