Hi guys,
I need to match the first line of each log and maybe store it in an array and prepend some metadata at the beginning of each line.. I have a grok pattern that's matching only the first result and ignores the rest.. how can I achieve this? btw, I don't know how many log lines this will have, it will be dynamic.
The grok pattern goes like this:
"(?m)(?Writing table data)%{GREEDYDATA}"