I am trying to understand better how splunk regex works.
I have the below example:
This is a sample of the data I am trying to extract with Slot No.=1 being of interest:
...,measObjLdn="SGSN02KPR/Process:Process No.=5, Process type=GBP, Slot No.=1,...
Using splunks Interactive field extractor gives me this
(?i)=.*?, (?P\w+\s+\w+\.=\d+)(?=,)
if I want to look at these values in the search I can do this
`... | rex "(?i)=.*?, (?P\w+\s+\w+.=\d+)(?=,)" | stats values(FIELDNAME)
Now to understand this better I would like to use an example. What if I just want the values so instead of getting
Slot No.=1 I would get 1
So this (?i)=.*?, (?P\w+\s+\w+\.=\d+)(?=,) would go to ...?
Appreciate any help and trying to understand this better, or is there any documentation on this.
EDIT1
For instance this | rex ".*,.*Slot No.=(?P[^,]+)" will give me just the values this is just me playing around, I don't fully understand it.
... View more