How can I split a string from a field?
Example:
url="https://www.google.de/images/hpp/ic_wahlberg_product_core_48.png8.png"
--> url="https://www.google.de"
I have to extract the Website itself from the whole link every time...
One way to do it is with rex.
... | rex field=url "(?P<website>https?:\/\/[^\/]+)\/" | ...
One way to do it is with rex.
... | rex field=url "(?P<website>https?:\/\/[^\/]+)\/" | ...