Can I get the searchid for the search that is triggered by a dashboard?
What is the syntax to use this searchid to create an alert?
Will this searchid trigger the search of the same dashboard even if the underlying search code of the dashboard changes?
you can try this, when you are running dashboard
| rest /services/search/jobs
| cluster field=provenance showcount=t
| search dispatchState="RUNNING" AND provenance="UI:Dashboard:<Your dashboard name/label>"
| table cluster_count id dispatchState provenance