I have a dashboard with 2 dropdown filters, From Date and To Date. Below this is a table. It looks something like the image below:
Now, what should happen is that when both of the dropdowns are set to the date today, the search should return results from "date today" and "the last 30 mins". Then, if the dropdown is set to a different date, (for example FROM DATE=9/9/2018, TO DATE=9/11/2018), the search should return results from 9//9/2018 to 9/11/2018.
What could be the possible solution for this? I am trying to use |where and |eval but I still can't figure out how to do this.