question

luiscolon0 avatar image
0 Votes"
luiscolon0 asked luiscolon0 commented

Retrieve how many users has visit/open and downloaded a PDF file stored in a SharePoint 2013 Document Library with external / anonymous access

Hello Community, i hope you all are doing well.

I am wondering how we can retrieve the number of visits/open and downloads a file can have in a SharePoint Document Library.

For example: https://SharePointSiteDomainPublicURL/Gestin%20del%20conocimiento/Creando%20Ciudades%20Inclusivas_Final.pdf
This PDF is stored in a SharePoint 2013 document library with external access and we want to know how many users has visit/open and downloaded the document (with external / anonymous access).

Thanks in advance, attentive to your comments.
Best regards,
LC.

office-sharepoint-server-administrationoffice-sharepoint-server-customizationoffice-sharepoint-server-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @luiscolon0,

Thank you for your question. We will give you an update as soon as possible. Thank you for your understanding and support.

1 Vote 1 ·

1 Answer

CaseyYangMSFT-4714 avatar image
0 Votes"
CaseyYangMSFT-4714 answered luiscolon0 commented

Hi @luiscolon0,

You could enable " Opening or downloading documents, viewing items in lists, or viewing item properties" option in Site collection audit settings.

1.Site settings > Site Collection Administration > Site collection audit settings

200216-1.jpg

2.Site settings > Site Collection Administration > Audit log reports > Custom Reports > Run a custom report

200266-2.jpg


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



1.jpg (105.8 KiB)
2.jpg (75.2 KiB)
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello Casey,

Thanks so much, i have tested in a site collection that i have admin permission.
When i run it, it shows an error "there is no data", of course i just enabled it today and seems logic. There is no way to retrieve past logs?

Regards,
LC.

0 Votes 0 ·

it starts collecting data after activating. I.e. doesn't retrieve logs from the past

1 Vote 1 ·

Hello,

A question, is there a way to configure these reports to be run automatically every 15 days or every month and to be saved in a specific location?
Since users are requesting this and they don't have admin permissions to create it, they have to request it. They need to access the library hosting the reports and to not request this report creation every month or 15 days, instead, a way to run the report automatically so they can go to the library, check and open the report they want.

Thanks in advance, attentive to your comments.
Best regards,
LC.

0 Votes 0 ·

Hi @luiscolon0,

I am afraid that you have to run this report manually. There is no available way to run this report automatically.

1 Vote 1 ·
luiscolon0 avatar image luiscolon0 CaseyYangMSFT-4714 ·

Hello Casey,

Thanks for your reply, i would like to understand the report.

I need to explain this to the users but i have some doubts, we pretend to count how many views and downloads a document have but, i only see "view" by a few users and system account.

System account woulld be interpreted as External users accesing the files? since the site has a public domain.
View event counts as downloadded too? does it double counts if you open and download or only when openning in browser?

![202801-image.png][1]

Attentive to your comments.
Best regards,
LC.
[1]: /answers/storage/attachments/202801-image.png

0 Votes 0 ·
image.png (71.3 KiB)