Single Dashboard utilization for different index

(Prateek Kshtriya) #1

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.
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.


(Christian Dahlqvist) #2

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

(Prateek Kshtriya) #3

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

Single Alias for multiple indices
(Christian Dahlqvist) #4

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

(Prateek Kshtriya) #5

Leg2 leg2mar17new - - -
analysis analysisleg2cnew - - -

(Christian Dahlqvist) #6

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

(Prateek Kshtriya) #7

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).

(system) #8