Ad Widget

Collapse

I want to preprocess or map a value that is already in a string value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ebsys
    Junior Member
    • Oct 2023
    • 22

    #1

    I want to preprocess or map a value that is already in a string value

    I get value "Windows has found N update", I used windows event log to retrieve data and now I want to preprocess it so it show a good dashboard. But now my problem, I don't know how I can convert the numeric value inside the string value

    in the "Windows has found N update" I only want to process the "N", so it shows a number as preprocess output

    Pattern -> "Windows has found N to N update" -> "N" <- Output

    Thank you
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    regex... "Windows has found (\d+) to (\d+) update" ​ output set to \1 or \2 depends which number you need ...

    Comment

    Working...