Hi!
Need help with this please.
I have to extract the IP address from this:
src=45.141.87.33:53402:X19
value 53402 and value X19 could be anything.
help please!
EDIT- verified, working good.
assuming you want to extract "45.141.87.33"
| makeresults | eval log = "test src=45.141.87.33:53402:X19 test" | rex field=log "(?<ipAddr>\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})" | table ipAddr log