I try to create an index template for my heterogeneous data. Is there a way to ingest Documents with a field that is sometimes a list of lists:
{
"xx_response_body": [
[
123123,
...
],
[
12312344,
...
],
....
],
"Content-Type": "application/json",
"Vary": "Cookie",
"x-xss-protection": "1; mode=block"
}
and sometimes an object:
{
"xx_response_body": {
"abc": "error",
"def": "content",
"hij": {}
},
"Content-Type": "application/json",
"x-xss-protection": "1; mode=block"
}
``