In the meshIQ Platform, this setup is no longer required.
Setting up the streaming of AutoPilot data to XRay has changed between XRay versions 1.5 and 1.6. This article contains the instructions for XRay 1.6.
Configure AutoPilot for Streaming
- From the main menu select Admin Settings > Tokens > Streaming.
- Click Create.
- Enter a Token prefix (optional), Repository name, and the Expire Time, if required.
- Click Create. A token will be generated.
- Place this token along with the IP of the server in the global.properties file of the Autopilot folder from which the data is to be streamed. For example:
property tnt4j.source.hosturl=https://localhost:6580
property tnt4j.source.access.token=your_access_token
- In AutoPilot, deploy the experts.
- Go to the IBM MQ expert's properties.
- Add the following:
MQSC Command: display conn(*) where (objname eq Sampler-1)type(*) all
MQSC Fact Update: display conn(*) where (objname eq Sampler-1)type(*) all
- Click Apply.
Stream facts
- In AutoPilot, right-click the Domain Manager and go to Properties.
- Look for the Streaming Options tab. This tab controls which facts get streamed and the location they stream to. Many of the fields are optional and have default values provided in the tnt4j.properties file that is part of the XRay installation package. However, they can be overridden.
- For streaming the facts as they update, select Stream Facts. Again, keep in mind that AutoPilot facts become snapshots in XRay.
- For streaming periodic derived metrics, select Derived Metrics and set a frequency by entering a time interval in milliseconds in the Interval of derived metrics field.
- Click Apply to apply changes.
- Restart the domain and CEP servers. Data will begin being streamed in the form of Activities and Snapshots.
- To view all data from the XRay interface, enter a jKQL query that does not contain conditions, such as ‘get snapshots’. Results are displayed in the form of table.
- Use the results to focus on a particular snapshot name or time. For example, to display the facts for object ‘MQM’, use the following query:
“get snapshots where snapshotname=’update’
You can also use the date filter in the upper left corner of the console to find the data for a particular time.
This is how data can be tracked using XRay.