Hi,
I'm facing this issue and I would like to get some guidance. I'm monitoring a file by using "vfs.file.contents[/tmp/progress.zab]" item with "log" as the type of information. The file's content is something similar to:
I would like to preprocess it to get the final result as:
I'm using the following pre-processing rule:
I'm getting the following error:
The output of the item is string but I want to treat the numbers as "numbers". How can I do that?
I'm facing this issue and I would like to get some guidance. I'm monitoring a file by using "vfs.file.contents[/tmp/progress.zab]" item with "log" as the type of information. The file's content is something similar to:
Code:
5 0 50 100
Code:
STEP 5 100
Code:
Name: Regular expression
Parameters: (^\d?)([0-9]{1,3}$)
Output: STEP \1 \2
Code:
Item preprocessing step #1 failed: cannot perform regular expression match: pattern does not match, type "string", value "5 0 100"
Comment