I am trying to extract the numeric value for a free text field in my Splunk logs which looks like below
Time difference : 443
I am using the below query to extract this field
... | rex field=_raw "Time difference : (?<timeDiff>^\d+$)" | status count(timeDiff) by groupName
However, timeDiff does not extract the numeric value. Am I missing something?