Generating report for Active sync

Hi everybody,

I require some help for filtering the Active sync report. We are using the below script

SELECT  TOP 50

            eas-user-alias,

            eas-user-domain,

            eas-device-type,

            SUM (TotalClientEmailSync) AS TotalClientEmailSyncs,

            SUM (TotalServerEmailSync) AS TotalServerEmailSyncs,

            ADD (TotalClientEmailSyncs, TotalServerEmailSyncs) AS TotalEmailSyncs,

            SUM (TotalClientContactSync) AS TotalClientContactSyncs,

            SUM (TotalServerContactSync) AS TotalServerContactSyncs,

            ADD (TotalClientContactSyncs, TotalServerContactSyncs) AS TotalContactSyncs,

            SUM (TotalClientCalendarSync) AS TotalClientCalendarSyncs,

            SUM (TotalServerCalendarSync) AS TotalServerCalendarSyncs,

            ADD (TotalClientCalendarSyncs, TotalServerCalendarSyncs) AS TotalCalendarSyncs,

            ADD (TotalEmailSyncs, ADD (TotalContactSyncs, TotalCalendarSyncs)) AS TotalSyncs   

 

USING

 

            CASE eas-folder-data-type

                        WHEN 'Em' THEN

                               ADD(eas-client-adds,

                               ADD (eas-client-changes,

                               ADD (eas-client-deletes, eas-client-fetches)))

                        ELSE 0

            END AS TotalClientEmailSync,

 

            CASE eas-folder-data-type

                        WHEN 'Em' THEN

                               ADD(eas-server-adds,

                               ADD (eas-server-changes, eas-server-deletes))

                        ELSE 0

            END AS TotalServerEmailSync,

           

            CASE eas-folder-data-type

                        WHEN 'Co' THEN

                               ADD(eas-client-adds,

                               ADD (eas-client-changes,

                               ADD (eas-client-deletes, eas-client-fetches)))

                        ELSE 0

            END AS TotalClientContactSync,

 

            CASE eas-folder-data-type

                        WHEN 'Co' THEN

                               ADD(eas-server-adds,

                               ADD (eas-server-changes, eas-server-deletes))

                        ELSE 0

            END AS TotalServerContactSync,

 

            CASE eas-folder-data-type

                        WHEN 'Ca' THEN

                               ADD(eas-client-adds,

                               ADD (eas-client-changes,

                               ADD (eas-client-deletes, eas-client-fetches)))

                        ELSE 0

            END AS TotalClientCalendarSync,

 

            CASE eas-folder-data-type

                        WHEN 'Ca' THEN

                               ADD(eas-server-adds,

                               ADD (eas-server-changes, eas-server-deletes))

                        ELSE 0

            END AS TotalServerCalendarSync

 

INTO C:\Public\LogParserOutput\EAS_User_Statistics.html

 

 

/* Substitute this directory location with the location of your logs.  Wildcards are allowed.

  

*/

 

FROM C:\Public\Logs\*.log

 

GROUP BY

            eas-user-alias,

            eas-user-domain,

            eas-device-type

When this script gets executed using LogParser.exe
LogParser.exe -i:COM -iProgID:MSUtil.LogQuery.EASInputFormat file:c:\Public\LogParser\SQL\EAS_User_Statistics.sql -o:TPL -tpl:c:\Public\LogParser\SQL\EAS_User_Statistics.tpl
It displays the correct active sync info which is gr8 but also displays the users info not using active sync. My manager wants me to filter it so that it displays only active sync users info. After checking through the script file found that it should have worked fine. Any insight or help on this will be appreciated.

Thanks!

Joseph Thomas
Smith and Nephew United States
Email address: josethom4972@gmail.com

 

What did you think of this article?




Trackbacks
  • Trackbacks are closed for this post.
Comments

Leave a comment

Submitted comments are subject to moderation before being displayed.

 Name (required)

 Email (will not be published) (required)

Your comment is 0 characters limited to 3000 characters.