Advertisement
ralfbergs

Untitled

Feb 21st, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. [DEFAULT]
  2. # Complete logline:
  3. # 2016-02-20T16:38:57.744887+00:00 hostname sshd[25454]: Invalid user hugo from 2001:123:4567:2c1:fc53:64af:4c60:aa36
  4.  
  5. # 2016-02-21T20:37:22.417208+00:00
  6. __timestamp_re = \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{6}\+\d{2}:\d{2}
  7. # 2016-02-21T20:37:22.417208+00:00 hostname sshd[28085]:
  8. __prefix_line = %(__timestamp_re)s\s+%(__hostname)s\s+%(__daemon_combs_re)s:\s+
  9. #__prefix_line = %(__hostname)s %(__daemon_combs_re)s:\s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement