I am not able to match a pattern in logstash grok. Here is my data:
some words key[value]some words in between key[value] key[value]....some more words
I want to match a pattern
key[value] key[value]
i.e. two consecutive key values with space in between
I tried with (?=\w+[.*])\s(?=\w+[.*])
, but it's not working.
I am getting the entire line with the very first key[value] and not from key[value] key[value].