In below eg I have some random text after the word type and I want to extract all the strings/ numbers that comes after type, can it be done using Rex ? Please suggest the command
type abc xyz aabbbbc xxxxyyyy bbbbb uuuuuu 12345677
if you want to extract all the text after "type", you have to use a regex like the following:
| rex "type\s+(?<your_field>.*)"
View solution in original post
Thanks a lot it works 👍
Good for you, see next time!
Ciao and happy splunking.
P.S.: Karma Points are appreciated 😉