You can filter messages from IBM i job log and forward them to your chosen destinations. To do that, Ironstream Proxy Server must receive Job End message (CPF1164) at first then request collection of the job log by the Ironstream agent. You can choose which jobs to collect the logs and which messages from the logs to collect each LPAR using the Configuration Tool.
Following are the pre-requisites that are needed before job logs can be collected and forwarded to a chosen destination:
The jog logs must be going to the system QEZJOBLOG in the QUSRSYS Library.
QHST must be collected from the LPAR.
The CPF1164 message must be included in the QHST message filter list.
Any changes to the QHST collection need to be distributed to the LPARs.
Any changes to the Job Log Forwarding Filters need to be distributed to the LPARs.
See Phase 3: Add, Modify, and Distribute Message Queues and Message IDs section for details on how to configure the QHST collection.
Once the Ironstream Proxy Server receives a CPF1164 message for a job that is listed in a Job Log Forwarding filter associated with an LPAR, the Proxy Server requests the log from the agent after giving the following parameters:
Job Name
Job ID
Job User
Then, the agent sends the records that meet the message filtering constraints. The Ironstream Proxy Server processes these raw records, creates JSON formatted records and sends them to the destination.