I am running searches via the Python SDK and having issues when I include regular expressions as part of the search. How do I escape the regular expression so the search can run as expected?
The search regex causing issues:
..... | regex http.hostname="\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?).){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b" | .......
The error:
ExpatError: not well-formed (invalid token): line 5, column 148
Basically I'm looking to match IP
Hi askjoe,
Do you need help for this question yet?
[]s
Rafael Martins