Query in Runtime Field

Hi,
I'm creating a runtime field and want to fetch data from Elasticsearch by performing a query.
Below is my query

GET prod_logistic_parcel_index/_search
{
  "query": {
    "query_string": {
      "query": "(7111681250) AND (NEW)",
      "default_field": "json.message"
    }
  },
  "fields": [
         
    {
      "field": "json.@timestamp",
      "format": "epoch_millis" 
    }
  ],
  "_source": false
}

In the above query I'm getting the timestamp field from another document.
Is the above way possible to do in kibana or is there any other way from where I can get a field value from another document in the runtime field?

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