The statistics module documentation says that user name is logged in the Access Log: "This access log is used to store data about every page accessed, such as the remote host's IP address, where they came from (referrer), what node they've viewed, and their user name. "

I have enabled statistics Acces Log and created a view which shows Access Log. Available fields are:

enter image description here

I can't find any field related to user.

1 Answer 1


You have to add a relationship to Users to be able to display user fields in the view.

  1. Click on Add next to Relationships.

  2. Check "Access log: User" then click Apply.

  3. Click Add next to Fields then you should see the User fields including username.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.