Adding logic for dynamic creation of kibana dashboards