elasticsearch extract partial fields form object code example
Example 1: elastic get data from specific fields
{
"_source": ["user", "message", ...],
"query": ...,
"size": ...
}
Example 2: elasticsearch select fields
"_source": ["user", "message", ...],