datalust/seq-api

fromDateUtc

danpowell88 opened this issue · 1 comments

I was having issues with a lot of logs not showing, when looking at them i was only getting logs up until 10am of the day (I am in Australia/Brisbane so GMT + 10). I was originally sending in DateTime.Now.UtcDate to the frameDateUtc parameter.

When I switch this to just DateTime.Now I am able to receive all of the events.

Seems like something is off here?

Hi! Also in Brisbane here :-)

fromDateUtc is the beginning of the time range to retrieve in chronological order - so passing DateTime.UtcNow as fromDateUtc should almost always return no results. Something like DateTime.UtcNow.AddDays(-1) would get you logs from the last 24 h.

Does this sort it out for you? Cheers!