Reporting on Forefront TMG's Remote SQL Database


Scott Glew

Scott Glew

Microsoft Forefront TMG 2010 supports a variety of different logging methods, and until now TMG Reporter has supported only the SQL Express and W3C Extended log methods. But we're pleased to announce support for one more - remote SQL Database!

If you have configured TMG to log to a separate SQL database (and there are some great reasons to do so), we would love to hear your thoughts on this new feature.


  1. Make sure you're running the latest version of Fastvue TMG Reporter, by downloading it here.
  2. Run the Fastvue TMG Reporter installation on your Fastvue server. You do NOT need to install the Fastvue Arbiter on your TMG Server when using the new SQL importing feature. TMG Reporter connects directly to your remote SQL Database.

See our Getting Started guide for detailed steps on the installation process.

Adding an SQL Source

Once TMG Reporter is installed, browse to the site and ignore the Start screen asking you to enter the name of a TMG server. Instead, proceed to the Settings tab.

On the Sources page, click Add Source. You will notice a new SQL Server option.

Adding TMG

Adding TMG's Remote SQL Server Logs as a Source

Enter the credentials required to connect to your SQL Server, and select the database and tables that TMG is logging to.

Note: If you are using Windows Authentication, make sure the machine account (domain\machine$) of the Fastvue TMG Reporter server has read access to the database.

Tip: If you have more than one Web Proxy or Firewall table, you can enter wildcards such as *Web* to select MyWebProxy1, MyWebProxy2 etc.  Or just enter * and TMG Reporter will check every table in the Database.

Click Add SQL Server and you should soon see records being imported into the source. You can then proceed to the Dashboard or Alerts tab to view live information. You can also run reports on the Reports tab, but check the source to see which dates are available for reporting on.

Enable/Disable TMG Servers

You will also notice a 'Manage Servers' tab on your new SQL Source. Click this tab to view a list of all the TMG Servers found to be logging to the database. You can enable and disable importing from these servers as required.

The number of TMG Servers logging to the remote SQL Database

The number of TMG Servers logging to the remote SQL Database

Note: TMG Reporter's licensing is based on the number of TMG Servers you need to monitor. Take a look at the servers in this list before requesting a quote.


That's it! You should now be monitoring all TMG Servers logging to your remote SQL Database.

If you're testing this out, please let us know what you think!

Take Fastvue Reporter for a test drive

Download our FREE 30-day trial, or schedule a demo and we'll show you how it works.

  • Share this story

How Kerberos and CARP Affect Forefront TMG Reporting

When using both Kerberos and CARP in Forefront TMG 2010 SP2 you may see domain accounts using a lot of bandwidth in your TMG Reports.
TMG Reporter

Fastvue TMG Reporter's System Requirements Explained

This article explains Fastvue TMG Reporter's System Requirements for the best Forefront TMG Reporting experience.
TMG Reporter