1. 23 Jan, 2018 1 commit
    • Jérome Perrin's avatar
      Prevent errors when parsing date on malformed lines · 855cee8e
      Jérome Perrin authored
      We observed lines in our logs where the timestamp field was still
      respecting the timestamp regexp, so the line was not reported as
      invalid, but parsing such timestamp caused a ValueError in
      _matchToDateTime
      
      The beginning of line was:
      127.0.0.1 - - [14/Jul/2017:127.0.0.1 - - [14/Jul/2017:09:41:41 +0200]
      
      Which uses `[14/Jul/2017:127.0.0.1 - - [14/Jul/2017:09:41:41 +0200]` as
      timestamp, so this fail the simple .split() used to separate timestamp
      and timezone.
      
      Added a minimal test case to reproduce this specific problem.
      855cee8e
  2. 14 Sep, 2016 3 commits
  3. 11 Jul, 2014 2 commits
  4. 17 Apr, 2014 2 commits
  5. 27 Mar, 2014 2 commits
  6. 20 Mar, 2014 3 commits
  7. 10 Aug, 2013 6 commits
  8. 07 Aug, 2013 1 commit
    • Vincent Pelletier's avatar
      Add an option to convert timezone. · cd70bb49
      Vincent Pelletier authored
      Do it while parsing, so (for example) day splitting happens at midnight in
      chosen timezone instead of midnight in source timezone.
      When no timezone is provided, use input's times verbatim.
      DST changes cause artefacts in graphs (double or zeroed hour).
      Also, display used timezone in generated page.
      cd70bb49
  9. 24 May, 2013 4 commits
  10. 16 May, 2013 1 commit
  11. 24 Apr, 2013 2 commits
  12. 23 Apr, 2013 9 commits
  13. 18 Apr, 2013 4 commits