(U|W|B)TMP Log Data
This data comes from the utmp, wtmp, and btmp files, which contain user login information.
UTMP data contains the data for currently logged-in users, typically from /var/run/utmp. The UTMP file reveals logged-in users and where they logged in from on the host. This file only shows active users that the system considers logged in with an interactive shell.
WTMP data contains the data for current and past logged-in users, typically from /var/log/wtmp. The WTMP file reveals current and past logged-in users and where they logged in from on the host.
BTMP data contains the data for failed login attempts, typically from /var/log/btmp. The BTMP file reveals failed login attempts and where they originated.
The data here, shared between all three log types, shows not only the logged-in date, but, if available, the previous entry date, which can be used to help bracket times in the event the log file was tampered with to hide activity.
{
"entry_number": 0,
"type": 0,
"type_name": "",
"pid": 0,
"device": "",
"id": "",
"username": "",
"hostname": "",
"exit_status": {
"termination": 0,
"exit": 0
},
"session": 0,
"date": {
"created": "",
"created_previous_entry": "",
"created_minutes": 0
},
"ip_address": "",
"reserved": ""
}Updated 5 days ago