Open
Description
I have a log that contains the line " 1 al_new: void" (without quotes). I am trying to parse this log with synoptic, with the option-r '(?<TIME>)\\s*al_new:\\s*.+(?<TYPE=>new)'
to try to parse it. However, synoptic keeps telling me the line does not parse. When I put the "processed" output into a java file with regex (?:\\s*(\\S+)\\s*)\\s*al_new:\\s*.+
, it does parse!
Moreover, the example on your wiki page does not work: it only processes ^hello
as a regex, ignoring everything after the space. It then complains that there is no TYPE or STATE assigned in the regex.
Is it possible to fix this, or to write my own parser and use synoptic as a library?
Metadata
Metadata
Assignees
Labels
No labels