Client Management Suite

 View Only

Report of Logins Between Dates and Times 

Jul 15, 2009 03:45 PM

A connect member was requesting a report that would show logon/logoff events over a given date range and between given times.

Attached it a report that allows you to specify a date range and a time range to show logon/logoff events for managed resources.

To use this report, you will need to import it. Navigate to the reports tab in the Altiris Console, right-click on the folder where you want the report located and select "Import". Browse to the folder where you downloaded the this report and select it.

Once imported, select "Run this Report".

You will be prompted to input your variables:

imagebrowser image

If you wanted to see the events for July 14th, you would enter 07/14/2009 in both the start and end date fields. If you only wanted to see the events on that day between 2:00 PM and 4:00 PM you would enter 14:00 for the start time and 16:00 for the ending time.

You can also see the time frame narrowed over a multiple date range. For instance, setting the start time to 14:00 and the end time to 18:00 and setting the start date to 07/06/2009 and the end date to 07/10/2009 will give you all the events that occurred between 2:00PM and 6:00PM on each of those days.

Any questions or updates, please feel free to PM me.

Statistics
0 Favorited
0 Views
1 Files
0 Shares
0 Downloads
Attachment(s)
zip file
MachineLogins.zip   2 KB   1 version
Uploaded - Feb 25, 2020

Tags and Keywords

Comments

Dec 15, 2010 10:25 AM

I have built a version 7 report a couple of things need improvement but one thing to note I don't know how to attached the xml export to this forum post.

 

Minor improvements could be made:

1. Report Parameters - For some reason even though I have changed the "Display/Eval Order" it does not affect the order of display of these to my user.  They are alphabetically ordered and I can't figure out how to change this.  Not a big deal but the order is:

Computer Name:

End Date:

Start Date:

User Name:

Would be nice to put switch the End and Start dates.

 

2. Add in security scoping

3. Currently it allows me to define date and time but I would like the default end time to always be 23:59 not sure how to set this to default this way.

Oct 14, 2010 11:25 AM

Has anyone converted this report to a NS7 report when I imported it I got complaints that it needed to be upgraded.  The SQL posted above works just fine in my db.

Dec 18, 2009 08:15 AM

I seemed to not be getting any results from any recent months, what triggers entry to the [Evt_AeX_Client_LogOn] table? ie which module in CMS.

We used the Carbon Copy log on tables for a bit, but those were unreliable as it tended to give false readings when the service was started/stopped.

PS the report would be much better with two extra filters; by 'user' and by 'computer'...gives it a much better "who has been where" feel. I'm sorry, i'm rubbish at SQL so ours arent worth uploading.

Nov 02, 2009 10:36 AM

thanks

Oct 13, 2009 08:49 AM

First,

The dates and times need to be entered in the exact format as they are in the example.  Time in 00:00 24 hour format and date in mm/dd/yyyy format.

Try running this query and see what you get.  Also, have you verified there is data for the date range you are looking for?

SELECT    DISTINCT T1.[Guid] AS 'Guid',
        T1.[Name] AS 'Name',
        T0.[Event] AS 'Event',
        T0.[User] AS 'User',
        T0.[Domain] AS 'Domain',
        T0.[Time] AS 'Time'
FROM [vResourceEx] T1
INNER JOIN [Evt_AeX_Client_LogOn] T0 ON T1.[Guid] = T0.[_ResourceGuid]
WHERE T1.[ResourceTypeGuid] = '493435F7-3B17-4C4C-B07F-C23E7AB7781F'
  AND T1.[IsManaged] = 1
  AND CONVERT(CHAR(10),T0.[Time],101) BETWEEN '09/01/2009' AND '09/10/2009'
  AND CONVERT(CHAR(10),T0.[Time],114) BETWEEN '00:00' AND '23:59'
ORDER BY T0.[Time] ASC

Oct 12, 2009 10:52 AM

Smiz Thanks for the post. I Imported the report but It is only turning in one month of data. I am not a SQL guru and could use some help getting this to work as designed. What info do I need to give you so you may help me or point me in the write direction. I have not done anything with the Altiris Tables or Schema.

Aug 20, 2009 08:25 AM

If you would like the specific steps to create the above report, let me know.

Otherwise, take a look at: https://www-secure.symantec.com/connect/articles/how-guide-report-builder, an article Alex Held wrote about report builder.

RS

Aug 18, 2009 04:51 PM

This report is very useful, since I'm learning reporting under Altiris would you mind sharing the steps you took to create such a report?

Thanks

Related Entries and Links

No Related Resource entered.