I added the element from the saved library as :
Add Element -> Add from Kibana -> Selected the element to add
The time filter inserted from canvas has a time set to Last 90 days, as can be seen in the image below, whereas the element added from Kibana has a time set to Last 7 days.
Based on this answer, I tried to prepend filters | savedLens ...
in the expression window of the element added from Kibana. But it's not working.
I want the new time to be applied to every element of the canvas if the time is changed using the dropdown of the time filter (even though the elements are added from Kibana like Map, Chart, etc)
Can anyone please help me resolve this issue?