How to plot count from search of file phrases

Hello,
I have the following query :
GET new_logs-*/_search
{
“query”: {
“match” : {
“log” : “Serializable isolation”
}
}
}

How can I write that query in grafana and display the number of finds as a time (@timestamp ) series ?