Do you mean show “yesterdays data” as button to show it instead of the current data? That might be no too complicated, but I’m not sure what that would bring us.
Here we have the problem that it is not guaranteed that
pihole.log.1 contains data that is contiguous with respect to
pihole.log. It should be, but it is not guaranteed. How to deal with situations where there is a large gap in between both files (I have such a situation, currently, as I moved
pihole.log via a symlink to another place,
pihole.log.1 is about one week old). Also, when you flush early (there should be no need to flush anything anymore, but who knows), then the current data gets shifted into
pihole.log.1. How to deal with that (I think we should remove the possibility to be able to flush the log entirely)?
FTL might also be able to read all
.2, etc. files when we turn off compression and may run periodically some garbage collection that will automatically remove data that is older than some time
X (defaulting to 24h). This may help in guaranteeing that you can always see continuous 24h. But it will be a lot of work and many more moving gears in the box.