The following topics make up the reporting stage:
After you have completed the previous tasks, logging events to the Secure Logging Server is straightforward. You simply initialize a connection to the Platform Agent, then use the LogEvent functions to report your events. See Section 4.0, Functions, and the files contained in the samples folder of this kit for details on implementing event logging in C or Java, and for sample instrumentation.
Each instrumented application on an individual machine uses the same Platform Agent to communicate with the Secure Logging Server. The Platform Agent is configured through a configuration file, in which you specify the IP address of the Secure Logging Server to receive reported events, the location of the event cache when unable to connect to the Secure Logging Server, and several other configuration settings.
The location for the configuration file is dependent on the platform. The default locations are as follows:
Table 2-1 lists the parameters contained in this file:
Table 2-1 Platform Agent Configuration File Parameters
An event signature ensures that events received by the Secure Logging Server have not been deleted or modified. Events can be signed and chained by creating a signature consisting of the signature of the preceding event and the event data of the current event. This enables you to ensure that each logged event is received unmodified by the Secure Logging Server and that the entire chain of events is present.
To enable secure event logging, change the LogSigned parameter to Yes in the Platform Agent configuration file. See Section 2.2.2, Configuring the Platform Agent for more information.