Single Dashboard utilization for different index

Hi All,

I have been trying to utilize a dashboard which is created earlier for one index but it is not picking up the data for new index created.
Background-
Index 1 - There are 7 fields in the index having nearly 15000 data.
Index 2 - There are 7 fields in the index having nearly 100000 data.
Index 1 & Index 2 are created to segregate two sets of data from different dates.
Sample Dashboard- Created first time with Index 1 data

Issue - Not able to find data on Sample Dashboard when Index 2 is selected whereas able to find data in 'Discover' section for same.
Do I need to create different dashboard for every index even if they are having same column or fields.
Please help.

Regards,
Prateek

Have you tried creating an alias for the two indices and query against that?

Hey Christian,

I created the aliases but the dashboard is not getting refreshed for second index whereas is getting data for alias also i.e not getting dashboard data for two different aliases.
Index 1 alias- Dashboard showing data
Index 2 alias - Dashboard not showing data

Thanks & Regards

I am afraid I do not understand. Can you post the output from _cat/aliases?

9200/_cat/aliases?
Result-
Leg2 leg2mar17new - - -
analysis analysisleg2cnew - - -

Did you not create a single alias linked to both indices and try to use this from Kibana?

I figured that the dashboard doesn't work for new index when the date is changed else it works even when there is new data(similar to index1 i.e previously created) but on the same date (Date on which the index which is initially taken to create the dashboard).