Hi Everyone,
I am trying to download the event log files with up to 1 year of data from Event Log File Browser but its showing data for only 1 month. I have enabled Retain event log files in Event Monitoring Settings and updated the eventLogRetentionDuration field in EventSettings xml.
Please let me know if I am missing any steps here.
Thanks
Hi Ajit,
Firstly you need to make sure you have turned on the ability to store up to 365 days in the UI of Event Monitoring Settings. Unless you want to have less than 365 days, there is no need to modify the metadata XML for the retention period.
The thing is, Salesforce do not do retrospective logs. What will happen is that the logs you have won't be deleted after 30 days anymore, they will be deleted after 365 days. So your current 30 days will just grow to 365 days and then they'll start to be deleted.