Query 2 Elastic Search indices in same panel

I would like to have a panel using data from Elastic Search indices index-a and index-b.

I want to do a count aggregation grouped by a terms field for both indices but substract the results from index-a to index-b

However the panel queries have a common index so idk how to distinguish that query A should use index-a & query B should use index-b


What dkes the index name currenrlt say in your ES data sourxe you have configured

1 Like

Found out we can select Mixed datasource and then add a datasource per query,

1 Like