13.26 SetDataTimeStamp

Use this Knowledge Script to set the timestamp for data as it is referenced for reports. This setting affects all reports, but it does not affect areas other than reporting.

You can set one of three timestamps:

  • AppManager Repository uses the local date/time of the AppManager repository computer.

  • Agent uses the local date/time of the AppManager agent computer.

  • Custom uses UTC (Coordinated Universal Time) plus or minus N hours.

By default, AppManager reports use the local time of the AppManager repository from which the reports are generated. Under circumstances where you want to have an AppManager repository-centric view of your data, you can leave these settings at their defaults.

Under circumstances where the accuracy of your reports depends on data being understood in the context of the local times during which it was collected, you would want to use the Agent timestamp. For example, if you are collecting data in four different time zones and want your report to include only data collected between 8 AM and 5 PM, you need that time frame to be relative to each time zone.

If you need to see all your data in the context of a specific time zone, you can use the Custom setting, and set the time zone by specifying the number of hours in positive or negative relation to UTC.

13.26.1 Resource Object

Report agent

13.26.2 Default Schedule

The default interval for this script is Run once.

13.26.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Raise event if timestamp successfully set?

Select Yes to raise an event if a timestamp is set successfully. The default is Yes.

Set timestamp to

Select a timestamp to use in reports:

  • AppManager Repository to set the timestamp to the local time of the AppManager repository.

  • Agent to set the timestamp to the local time of the AppManager agent that collected the data.

  • Custom to set the timestamp to a custom time (UTC plus or minus N hours). If you select this option, you must specify the number of hours in the following parameter.

Custom time bias

Specify the number of hours by which UTC is modified.

For example, if you enter 8, the time bias is Select UTC plus 8 hours.

If you enter -8, the time bias is Select UTC minus 8 hours.

Enter 0 to use UTC time.

Event severity when timestamp successfully set

Set the event severity level, from 1 to 40, to indicate the importance of the event. The default is 35 (magenta level indicator).

Event severity when job fails

Set the event severity level, from 1 to 40, to indicate the importance of the event. The default is 5 (red level indicator).