cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tfoliveira
Regular Visitor

PowerBI http log

How can i get http log from report server?

I added the snippet below to the configuration files, but the log didn't show up. I've restarted the services too.

Files:

C:\Program Files\Microsoft Power BI Report Server\PBIRS\ReportServer\bin\ReportingServicesService.exe.config

C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Reporting Services\ReportServer\bin\ReportingServicesService.exe.config

 

 

<RStrace>
<add name="FileName" value="ReportServerService_" />
<add name="FileSizeLimitMb" value="32" />
<add name="KeepFilesForDays" value="14" />
<add name="Prefix" value="tid, time" />
<add name="TraceListeners" value="debugwindow, file" />
<add name="TraceFileMode" value="unique" />
<add name="HttpTraceFileName" value="ReportServerService_HTTP_" />
<add name="HttpTraceSwitches" value="date,time,clientip,username,serverip,serverport,host,method,uristem,uriquery,protocolstatus,bytesreceived,timetaken,protocolversion,useragent,cookiereceived,cookiesent,referrer" />
<add name="Components" value="all:3,http:4" />
</RStrace>

 

 

 

 

1 ACCEPTED SOLUTION
v-deddai1-msft
Community Support
Community Support

Hi @tfoliveira ,

 

The HTTP log is created after you enable it in the configuration file (C:\Program Files\Microsoft Power BI Report Server\PBIRS\ReportServer\bin\ReportingServicesService.exe.config), restart the service, and the report server handles an HTTP request. If you configure the settings but do not see the log file, open a report or start a report server application (such as the web portal) to generate an HTTP request to create the file.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

View solution in original post

4 REPLIES 4
az38
Community Champion
Community Champion

just to history - it works only with ReportServer (http://url/reportserver) portal and not with Power BI portal (http://url/Reports/browser)


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
v-deddai1-msft
Community Support
Community Support

Hi @tfoliveira ,

 

The HTTP log is created after you enable it in the configuration file (C:\Program Files\Microsoft Power BI Report Server\PBIRS\ReportServer\bin\ReportingServicesService.exe.config), restart the service, and the report server handles an HTTP request. If you configure the settings but do not see the log file, open a report or start a report server application (such as the web portal) to generate an HTTP request to create the file.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

HI @Anonymous , 

I did this, but for some reason it's only logging when I access the WebService, the portal access is not being logged.

Hi @tfoliveira ,

 

It will only log the client who access to the report server. Please refer to https://docs.microsoft.com/en-us/sql/reporting-services/report-server/report-server-http-log?view=sq...

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

 

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!