Extracting a key value pair in which the key contains certain string

Hi all, I am parsing my data as key value pair using kv filter.
I want to extract only the key which contain a certain string. For example if my string is "name". then i want to extract keys which are "myname", yourname, company_name etc. Is there any way to do it without writing ruby code?

The kv filter doesn't support this out of the box, but you can use a prune filter to remove fields except those matching a regexp.

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