I use [\r\n] at regexp to catch next line of necessary text , but it doesnt work , any assist on that ?
Ad Widget
Collapse
Catch next line at regexp
Collapse
X
-
Tags: None
-
Comment
-
Regular expressions in zabbix are applied to each line independently of the others.
\s is "any white space character"
What exactly do you want to get out of your "text"?Comment
-
i want any matching case "test1" to export test2 content :
function="run_if_needed" (process id=1645484): Related kpi is test1
function="run_if_needed" completed after [test2] sec
Comment
-
Option 1 - You can process your text with JS preprocessing and program any search logic there.
Option 2 - by preprocessing JS, make one line from the text and then process it through regex.
Comment
-
Comment
-
Comment