Guest User

Untitled

a guest
Dec 15th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. COLOR magenta
  2. {
  3. # matches the date
  4. ^(... ..).*$
  5. ^.*([0-9][0-9]\.[0-9]%).*$
  6. }
  7.  
  8. COLOR cyan
  9. {
  10. ^.*\[=*>(\.*)].*$
  11. # matches the time
  12. ^... .. (..:..:..).*$
  13. }
  14.  
  15. COLOR green
  16. {
  17. ^.*\[=*(>)\.*].*$
  18. # matches the hostname
  19. ^... .. ..:..:.. ([^ ]+).*$
  20. ^.*(sync'ed).*$
  21. }
  22.  
  23. COLOR yellow
  24. {
  25. # matches the "program" that wrote to syslog
  26. ^... .. ..:..:.. [^ ]+ ([^ ]+)
  27. }
  28.  
  29. COLOR brightyellow
  30. {
  31. ^.*\[(=*)>\.*].*$
  32. # matches all ip adresses
  33. ^.*([0-9]{3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*$
  34. ^.*([0-9]{2}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*$
  35. ^.*([0-9]{1}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*$
  36. # matches two ip adresses in one line
  37. ^.*([0-9]{3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*([0-9]{3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*$
  38. ^.*([0-9]{2}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*([0-9]{2}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*$
  39. ^.*([0-9]{1}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*([0-9]{1}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*$
  40. }
  41.  
  42. COLOR brightred
  43. {
  44. # matches the word root
  45. ^.*(\[)=*>\.*].*$
  46. ^.*\[=*>\.*(]).*$
  47. ^.*(root).*$
  48. # matches DENY
  49. ^.*(ppp-in DENY ppp0).*$
  50. ^.*(eth-in DENY eth0).*$
  51. ^.*\([0-9]*/([0-9]*)\).*$
  52. }
  53.  
  54. COLOR brightblue
  55. {
  56. # matches the output from the "program"
  57. ^... .. ..:..:.. [^ ]+ [^ ]+ (.*)
  58. ^.*\(([0-9]*)/[0-9]*\).*$
  59. }
Add Comment
Please, Sign In to add comment