Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Recycle POWER BI logs - Retention

Hi All,

 

I need to keep retention for PowerBI log located at C:\Program Files\Microsoft Power BI Report Server\PBIRS\LogFiles - 1 month worth of log 

such as

>ReportingServicesService_xxxx_xx_xx

>RSHostingService_xxxx_xx_xx

>RSManagement_xxxx_xx_xx

>RSPortal_xxxx_xx_xx

>RSPowerBI_xxxx_xx_xx

 

How do I do that ?

Any feedback is much appreciated

 

Thank you

 

 

1 REPLY 1
d_gosbell
Super User
Super User

The configuration for this is stored in the config file at 

<install directory>\PBIRS\ReportServer\bin\ReportingServicesService.exe.config 

 

It should look something like the following, increasing the KeepFilesForDays setting should solve your issue as I believe all the individual components read their retention settings from this one file

 

201910 PBIRS log retention.png

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.