It is possible to have a single dashboard with visualizations using different indices as data source as the index pattern is always tied to the individual visualization, not the dashboard, and you can place any visualization on a dashboard.
The steps are as follows:
- Go to
Management > Index patterns and configure one index pattern per project index. And index pattern is a set of indices but it can also contain just a single one (you've probably already done this)
- Go to
Visualize and create your visualizations . If you create a new visualization, you will be prompted to select an index pattern as data source. A best practice is to prefix the name with something like
[project1] to make it obvious what index pattern the visualization is referring to.
- Go to
Dashboard, create a new dashboard and add all the visualizations you want, no matter the index pattern.
However there is one pitfall: If the indices used on the same dashboard contain different fields (e.g.
index1 contains the field
fieldA but not
index2 doesn't contain
fieldA but does contain
fieldB), you have to be careful while applying filters to the dashboard because they will be applied to all the visualizations regardless the underlying index. This means if you filter by
fieldB to equal
value1, all visualizations using
index1 will stop showing data because there won't be a single document in
index1 mathcing this criteria. If your indices all feature the same fields, there won't be a problem.