Extracting IP address pattern from string

(Simbarashe Barry Makwangudze) #1

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 Port 63668 Ssh2

(Mark Walkom) #2

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

(Simbarashe Barry Makwangudze) #3

Thanks Can I not use a regular expression for this

(Mark Walkom) #4

Maybe, but it'd be difficult and expensive.

(system) #5

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