Changing timestamps
If necessary, you can change the timestamp format that is recorded for requests in the events sent to the Event Bus, by using the Discover Portal.
About this task
By default, time values in the request are written into
the [timestamp]
section of the request in a familiar
format. For example:
[timestamp]
RequestTimeEx=2011-06-28T04:20:35.074529Z
RequestEndTimeEx=2011-06-28T04:20:35.074529Z
If needed, you can change the timestamp format that is recorded for requests in the events sent to the Event Bus to use UNIX™ ticks.
Note: This timestamp
format change applies only to HTTP output for CEP.
Note: The
change applies only to the
RequestTimeEx
timestamp
in the hit request, if it is included in the [HTTPFields]
section
in the CustomFields.cfg
file.Complete the following steps to enable this configuration change.
- The
[CEP]
section of the request has a DateTime name-value pair that is in seconds since 1970 format at a resolution of one second. This event timing entry is not affected by this configuration change.
Note: This change must be applied to each Canister sending events
to the Event Bus.
Procedure
- Log in to the Portal.
- From the Portal menu, select .
- Click the WorldView tab.
- From the View drop-down, select
Servers
. - For each server that hosts a Canister:
- Repeat the above steps to the other Canisters hosting the Event Bus.
- Submit the task to make the change at the same time for all Event Bus instances.
- If you did not do so already, insert the
RequestTimeEx
field in the[HTTPFields]
section in theCustomFields.cfg
file.