Extracting IP address pattern from string

How can I extract an IP address pattern from a long string like this using regular expressions ?

Oct 18 16:01:56 Server1 Sshd[207769]: Failed Password For Invalid User Music From 107.150.42.106 Port 63668 Ssh2

You should really do that at ingest time, doing it afterwards is really difficult.

Thanks Can I not use a regular expression for this

Maybe, but it'd be difficult and expensive.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.