Put your logs in a timeseries database.