1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-05 07:28:55 +00:00

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

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() {