![]() Previous |
![]() Next |
When you have set up your persistence directory, it is time to create your persistence data log files.
To log to the Historical Data window:
Ensure that the Management Console is running for the desired connection.
Click the tab that contains the data you want to log (this must be graph data; you cannot log data on tables or lists).
Right-click within the graph and select Log to Historical Data.
A new Historical Data file is created in the persistence directory. The file will contain all attributes and the chart's metadata.
You can now drag and drop the newly created log file to the Java Mission Control window to view the results in the Historical Data window.
As soon as you have selected attributes to be logged to Historical Data, Java Mission Control creates two files:
A log file for that attribute in your Persistence directory.
A metadata file that contains the layout of the graph from which the data was logged.
The log file for the attribute uses the following naming convention:
idNumber_connectionName_index.log_gz
For example:
The example file name reads as follows:
142_localhost_3.log_gz
The third log file for the connection with the internal identification number 142 and the name localhost
.
The metadata file uses this naming convention:
idNumber_metadata.xml
For example:
142_metadata.xml
If the metadata file is not included in the directory of the log_gz files, the Java Mission Control Client will show all the attributes in one graph.