We are using elastic search index with multiple timestamp fields(e.g. T1 & T2). One of the time-stamp (e.g. T1) we made it as "timestamp" field in Kibana to be used to vary with time. We have created a visualization where X axis is non-timestamp field(e.g. T2) and included the same in dashboard. Now we would like this T2 on x-axis of this visualization to be changed based on changes in time on upper right hand corner of Kibana (which is set as T1).
Is there any way we can achieve this in latest Kibana ? e.g. by using some scripting in search bar of visualization?