Add last timestamp

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2022-03-14 19:54:46 +01:00
parent 0219e5dfe0
commit 48136c5bbc
No known key found for this signature in database
GPG Key ID: 4CDA6F249DD2B485
1 changed files with 1 additions and 1 deletions

View File

@ -1273,7 +1273,7 @@ show_clients() {
}
show_messages() {
show_FTL_db_entries "Pi-hole diagnosis messages" "SELECT count (message) as count, type, message, blob1, blob2, blob3, blob4, blob5 FROM message GROUP BY type, message, blob1, blob2, blob3, blob4, blob5;" "6 20 60 20 20 20 20 20"
show_FTL_db_entries "Pi-hole diagnosis messages" "SELECT count (message) as count, datetime(max(timestamp),'unixepoch','localtime') as 'last timestamp', type, message, blob1, blob2, blob3, blob4, blob5 FROM message GROUP BY type, message, blob1, blob2, blob3, blob4, blob5;" "6 19 20 60 20 20 20 20 20"
}
analyze_gravity_list() {