For how many days are the Email Logs stored in the system?

clementh
Tera Contributor

I can see the email logs for last 60 days in the instance. Is this a constant value in ServiceNow or is there a property in the system where we can change this behavior to be 30 days or so?

1 ACCEPTED SOLUTION

Robbie
Kilo Patron
Kilo Patron

Hi @clementh,

 

Unless you've set up any particular rules or implemented and configured plugins such as the email archiving and destruction plugin and feature, while email are 'archived' by default every 30 days, they are not deleted and are available and visible in the email logs

To view the Email logs, ('sys_email' table) type and click on the 'Emails' link under 'System logs in the Navigation menu.

 

As @Miguel Donayre points out with his response in the below related question and response (Kudos), whilst the email log uses the extension setting for archiving, this means is that the extension never deletes data, just partitions the table based on an extension schedule.

 

To help others (and for me to gain recognition for my efforts), please mark this response correct by clicking on Accept as Solution and/or Kudos.




Thanks, Robbie

 

https://www.servicenow.com/community/itsm-forum/email-log-retention-or-duration-in-the-system/td-p/4...

 

SN Support page confirming default archive schedule: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0721331

View solution in original post

3 REPLIES 3

Swapna Abburi
Mega Sage
Mega Sage

Hi @clementh 

Data archival and purging rules takes care of archiving and destroying the email logs. Please check archival rules.

more information can be provided here.

https://www.servicenow.com/docs/bundle/yokohama-platform-administration/page/administer/notification...

Ankur Bawiskar
Tera Patron
Tera Patron

@clementh 

very well explained here

Email Log retention or duration in the system 

Email retention 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Robbie
Kilo Patron
Kilo Patron

Hi @clementh,

 

Unless you've set up any particular rules or implemented and configured plugins such as the email archiving and destruction plugin and feature, while email are 'archived' by default every 30 days, they are not deleted and are available and visible in the email logs

To view the Email logs, ('sys_email' table) type and click on the 'Emails' link under 'System logs in the Navigation menu.

 

As @Miguel Donayre points out with his response in the below related question and response (Kudos), whilst the email log uses the extension setting for archiving, this means is that the extension never deletes data, just partitions the table based on an extension schedule.

 

To help others (and for me to gain recognition for my efforts), please mark this response correct by clicking on Accept as Solution and/or Kudos.




Thanks, Robbie

 

https://www.servicenow.com/community/itsm-forum/email-log-retention-or-duration-in-the-system/td-p/4...

 

SN Support page confirming default archive schedule: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0721331