How to search concatenated string in the message

In my logstash layer I am receiving the cf loggregator message in json format.
{ "name" : "abc", "address" : "bangalore}

If I want to search in my logstash grok filter, if "name":"abc" is present in the message then do some specific action.
Can you please tell how can we achieve this?

Here I want to check complete concatenated string: "name":"abc"

THanks in advance.

Hi Satya,

You could use a regex conditional.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.