glossy icon indicating copy to clipboard operation
glossy copied to clipboard

Add more compiled regex in the parser

Open reneelee0807 opened this issue 6 years ago • 0 comments

  • /^(.+>)$/ can fix logs that have a space after the pri. Eg "<123> Jan 1 ..." ----> "<123>Jan 1 ..."

  • /^(<\d+>\d\d\d\d)$/ can fix logs that have a year as start of date. Eg "<123>2001 Jan 1..." ----> <123>2001 Jan 1..."

And add something like /^\S+[\S+]:.*$/ to passing the syslog appName, pid and message

reneelee0807 avatar Oct 31 '19 23:10 reneelee0807