I am trying to develop data-catalog app
this app shows all fields (in flat dict format) its mapping type and sample data
for instance this index
POST test/_doc
{
"@timestamp": "2099-11-15T13:12:00",
"message": "GET /search HTTP/1.1 200 1070000",
"user": {
"id": "kimchy"
},
"nested": { "subnest":{"key":"value"}}
}
is displayed this way
But I have a problem in indexes with much more fields where field exists rarely.
I am looking for query where I can query sample data for each field.
Should I exists-query for every field or is there any other way?
Thank you
