Query Run
select substr(log_timestamp,1,6), count(*) from logging where log_action =... 2 years ago