Incremental scanning of an XML file

Note

The XML Files monitor type is not supported any more.


PATROL for Log Management supports the incremental scanning of an XML file and generates events for the matched content in every polling cycle, irrespective of the presence of the closing root tag. 

While scanning an XML file, the product stores the offset of the last-closed second level tag. The product resumes scanning the updated portion of the file in the subsequent polling cycle. 

You can configure an XML instance to read the file from the beginning at all times, by selecting the Always read at beginning check box on the Add File for Label: instanceName dialog box. If you configure the instance to always read at the beginning, the product scans the entire file and generates events in each polling cycle. If the Always read at beginning check box is not selected, the product scans only the updated portion of the file. The product stores the offset of the last-closed second level tag. The product resumes scanning the updated portion of the file in the subsequent polling cycle.

Note

If you have configured an instance by using an version 2.7.00 or earlier versions of the product,

  • The Always read at beginning check box is unchecked.
  • When BMC PATROL Agent restarts, the file is scanned from the beginning for the first time because there are no previous offsets available.
Was this page helpful? Yes No Submitting... Thank you

Comments