Search with wildcard in variable name

Hello,

I have following data structure in elasticsearch:

{
object_name : "test1",
src.elastic_variable_1 : "info1",
src.elastic_variable_2 : "info2",
src.elastic_variable_3 : "info1",
dst.elastic_variable_1 : "info1",
dst.elastic_variable_1 : "info2"
}

The variable elastic_variable for src and dst is dynamic. I could be, that the document have 8
variables for src.elastic_variable_{1,8} (e.g).

Is it possible to search with a wildcard about all dynamic variables?
E.g.: if src.elastic_variable_* == "info2"

Thanks in advance.

Regards

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