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
Ronnie7
Helper II
Helper II

PowerBI Gateway log retention

Hello, 

 

Per upcoming auditing, i wanted to know whether there are clear guidelines as to the Gateway log fie retenetion. 
Looks like  the Enterprise gateway service logs (under

C:\Users\PBIEgwService\AppData\Local\Microsoft\On-premises data gateway\<yyyyymmdd>.<Number>.log)
Is going back only 2 days?

 

and the configuration logs  under C:\Users\<username>\AppData\Local\Microsoft\On-premises data gateway\GatewayConfigurator.log goes back a month or so?


Any clarification around log retention policies would be appreciated!

Thanks!

 

 

3 REPLIES 3
v-shex-msft
Community Support
Community Support

HI @Ronnie7,

 

Unfortunately, I haven't found any options to setting log retention on gateway side. Maybe you can consider to write a bat command to auto delete history logs.

 

BTW, you can also submit an idea for this requirement.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

@v-shex-msft

 

Would you know currently, under, C:\Users\PBIEgwService\AppData\Local\Microsoft\On-premises data gateway\<yyyyymmdd>.<Number>.log  -  how far back can i look at the logs? 
in some servers, it looks like the earliest log file I could see was  from 2 days ago. in anthoer server i can see log files from a week ago.

Thanks!

Hi @Ronnie7,

 

These logs will created when gateway working.
If gateway service has stop running or not setting to refresh data, there are no log files created.(if you haven't turned on options to 'auto clean up no use files', I think log files will stay there)

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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.

Top Solution Authors
Top Kudoed Authors