Get user ID when action row link is clicked

I am passing the user ID as user via the link so its show in my custom list table url. For example, admin.php?page=history_logger&user=3

The user ID is in the query variable. You can access it using a PHP global variable. $_GET['user']

$user_id = $_GET['user'];

Do not assume that this request (link) came from the Users Page. You should validate $user_id to be certain it is an integer and a valid user id before operating on it.