1 Reply Latest reply on Aug 30, 2018 12:11 PM by styler

    SAM for IIS - Total Site Visitors in Time Frame

    it.systex@the-espgroup.com

      Is it possible to pull info for total number of visitors to an IIS Application within a given time frame? I am aware that through PerfStack I can see historical sessions, but it is difficult to report a total visitor count using this; Not to mention you can't actually export this information into a usable report.

       

      Any guidance greatly appreciated.

        • Re: SAM for IIS - Total Site Visitors in Time Frame
          styler

          This is possible by using Log Parser from Microsoft, which has a command line executable and SQL-style syntax to return whatever stats you want from IIS log files. A limitation I've read about it is that you can't parse multiple log files simultaneously. However, because SAM allows us to use PowerShell for monitors, you could merge your logs together in the PS script, then call Log Parser to analyze the merged file in the same script.

           

          I don't know what the query you'd need would be to find the number of visits in the last hour, but here is a list of sample queries that should get you on the right path:

          Log Parser Rocks! More than 50 Examples! | LichtenBytes

          1 of 1 people found this helpful