How can I get attachment download log?

Chizu Sato
Kilo Explorer

I can know if knowledge has been viewed by kb_use table.

Is there a way to know if a knowledge attachment has been downloaded?

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

You have to check event "attachment.read" , whenever you will download the attachment in event logs you will find an entry with "attachment.read" as well as in parm2 you will find table name, so you can filter there and see how many attachment has been downloaded from your kb_knowledge table. 

 

eg: i have added one attachment on my article and if i download it so one entry will be available in event logs , so you need to go to the system logs >> Events, add condition like below. 

 

Name | IS | attachment.read

AND

parm2 | IS | kb_knowledge

 

find_real_file.png

 

 

Doc link for further details. 

 

https://docs.servicenow.com/bundle/newyork-platform-administration/page/administer/form-administrati...

View solution in original post

3 REPLIES 3

Harsh Vardhan
Giga Patron

You have to check event "attachment.read" , whenever you will download the attachment in event logs you will find an entry with "attachment.read" as well as in parm2 you will find table name, so you can filter there and see how many attachment has been downloaded from your kb_knowledge table. 

 

eg: i have added one attachment on my article and if i download it so one entry will be available in event logs , so you need to go to the system logs >> Events, add condition like below. 

 

Name | IS | attachment.read

AND

parm2 | IS | kb_knowledge

 

find_real_file.png

 

 

Doc link for further details. 

 

https://docs.servicenow.com/bundle/newyork-platform-administration/page/administer/form-administrati...

Harshvardhan,
Thank you for your very useful information and kind explanation!
I can understand how to check event.
Thank you very much!

 

Hi Harsha,

Can you help me find out which script / Business rule is triggering this event "attachment.read" ?