GCP Logging (Log Based Metrics) regex requires that I only use 1 capturing group for my Regex Filter, as a result, I can't use the look ahead and behind's that I would prefer. How can I get the number after KeyOne:?
Log: KeyOne:32|KeyTwo:0|KeyThree:|Language:english
Desired Capture: 32
If I were allowed multiple capturing groups, this would work: (?<=KeyOne:)([0-9]+)(?=|)
Is there any way to do this with one Capturing Group?