I would like to compare dates using a sumo logic query. Those dates are sent once per day (So sumologic log receive dates are not useful in this case) and the field is called "date". That field contains the exact date of the triggered event following this format:
date:"YYYY-MM-DDTHH:MM:SSZ"
In order to have visibility about the difference between the current events and the last 24hs events I think the first step is to get yesterday's events; however, I don't know how to do that comparison. I have the following:
| json "field1", "date" as field1, date
| where field1 matches "MATCH_RULE" and date <= 2
| count by field1
So I expect to get access to the yesterday events. As a next step, I will make a difference between that events number and the current ones.