I have documents that have fields such as
vulns.something_1.a
vulns.something_1.b
- the element
something_1
may change between documents - some documents have the
vulns
entries, and some do not.
My problem: I would like to filter the documents with vulns.*
fields.
I thought that simply filtering for vulns.*
would work - it does not. I also trued to use _exists: vulns.*
- still nothing.
Is it possible to filter documents for those with a filed with a name partially dynamic?