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
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.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.