Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I am going through the gateway monitoring solution provided by Rui Romano, especially using disk template i.e. "Gateway Monitor - FromDisk.pbit". I also watched his video regarding the same (great content, BTW!). At about 20 minutes into the video, he explained how "DataLocation" parameter in the PBIT should point to folder path of gateway log export.
We usually export gateway logs from server on a monthly basis by passing the month start and end dates. I.e. open on-premises data gateway > "Diagnostics" tab > pass the "from" and "to" dates > click on "Export Logs" and copy the exported logs from gateway server to, say, my local machine (in below hierarchical folder structure). We have multiple gateway servers and do the same for each server.
Hierarchical folder structure: \Documents\AllGateways\<one folder per gateway>\<one folder per month>\<all exported logs>
Example:
\Documents\AllGateways\Gateway1\Sep2024\<all exported logs>
\Documents\AllGateways\Gateway1\Oct2024\<all exported logs>
\Documents\AllGateways\Gateway2\Sep2024\<all exported logs>
\Documents\AllGateways\Gateway2\Oct2024\<all exported logs>
Questions
If I want the PBIT to consider all historical data for all gateways, then
Any suggestions are much appreciated. Thanks!
Solved! Go to Solution.
Hi , @BindiyaThota
Firstly, regarding your question about whether pointing the PBIT to the '\Documents\AllGateways' location will consider all gateways, I believe it is theoretically feasible. If you set the 'DataLocation' parameter to '\Documents\AllGateways', it should include all subfolders within that directory. This means that as long as the log files are organised in their respective folders, it will encompass logs from all gateways.
However, in my tests, my default input location was:
C:\Windows\ServiceProfiles\PBIEgwService\AppData\Local\Microsoft\On-premises data gateway
Secondly, regarding your second question: if you want to analyse historical data, ideally, a hierarchical folder structure should include all monthly exports for each gateway. This way, you can track performance and issues over time.
Thirdly, exporting logs monthly is a good method for regular monitoring. However, if you encounter frequent issues or need more granular data, consider exporting logs more frequently, such as weekly. The date range should cover the entire period you want to analyse, so monthly exports with the first and last day of each month as the range are suitable for monthly monitoring.
Finally, if parameter input fails, you can refer to the following content:
The above are my personal opinions. If you have further questions, I recommend contacting the author directly, as they can provide more professional assistance.
RuiRomano (Rui Romano) · GitHub
Of course, if you have different opinions or new ideas, we welcome you to share them with us. I will always maintain a humble attitude and encourage you to post any further progress on this issue here.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I came here looking for guidance on using the disk template provided by Rui Romano. I suspect changes in the gateway logs are creating errors within the template. Getting a lot of null to text errors as well as the JSON layout of the logs seems brocken. It looks as though the template has not been updated in a year.
Has anyone continued the work on this template or is there an alternative project out there?
Thanks,
Chuck
Hi , @BindiyaThota
Firstly, regarding your question about whether pointing the PBIT to the '\Documents\AllGateways' location will consider all gateways, I believe it is theoretically feasible. If you set the 'DataLocation' parameter to '\Documents\AllGateways', it should include all subfolders within that directory. This means that as long as the log files are organised in their respective folders, it will encompass logs from all gateways.
However, in my tests, my default input location was:
C:\Windows\ServiceProfiles\PBIEgwService\AppData\Local\Microsoft\On-premises data gateway
Secondly, regarding your second question: if you want to analyse historical data, ideally, a hierarchical folder structure should include all monthly exports for each gateway. This way, you can track performance and issues over time.
Thirdly, exporting logs monthly is a good method for regular monitoring. However, if you encounter frequent issues or need more granular data, consider exporting logs more frequently, such as weekly. The date range should cover the entire period you want to analyse, so monthly exports with the first and last day of each month as the range are suitable for monthly monitoring.
Finally, if parameter input fails, you can refer to the following content:
The above are my personal opinions. If you have further questions, I recommend contacting the author directly, as they can provide more professional assistance.
RuiRomano (Rui Romano) · GitHub
Of course, if you have different opinions or new ideas, we welcome you to share them with us. I will always maintain a humble attitude and encourage you to post any further progress on this issue here.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Is any one able to successfuly implement "disk template" by pointing to just one export from one gateway? I am running into errors when I try to load data.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
7 | |
3 | |
2 | |
2 |
User | Count |
---|---|
4 | |
3 | |
3 | |
3 | |
2 |