Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The agent produces and routes CollectedFileUDR types with a structure described in the following example.

Info
title

Example - Using the CollectedFileUDR

CollectedFileUDR:

Code Block
languagetext
themeEclipse
internal CollectedFileUDR {
    string fileName;
    string baseDirectoryPath;
    string subDirectory; // relative to base directory
    int sizeOnDisk; // will differ if file was compressed
    boolean wasCompressed; // true if file was decompressed 
    on collection
    date fileModifiedTimestamp
    int fileIndex // Index number within the current merged 
    batch, starts with 1.
    bytearray content;
    boolean isLastPartial; // True if last UDR of the input file
    int partialNumber; // Sequence number of the UDR within the 
                      file. 1 for first, 2 for second so on.
};
Scroll pagebreak