Using Elastic's stored script

Hi

Is it possible to execute a stored script from Elastic by the id of the script at the query ?

Something like:

GET _search
{
“query”: {
“script”: {
“script”: {
“id”: “filter_for_top_score_records”
}
}
}
}

Thanks

1 Like

I wonder the same issue, is there a way to request elastics’s inline/stored scripts for flitering queries in grafana.