SXI Forum

A place to collect usefull tips, tricks and implementation strategies.

You are not logged in.

#1 26-03-2019 12:31:03

MarekR
Member
Registered: 21-02-2019
Posts: 19

X-EventCollector: MaxFileSize

"MaxFileSize" is used to limit the size of the output file that gets created.

Below is example config for the "EventCollector":

<Event name="">
      <Transmission>
        <Destination></Destination>
        <EndpointOutPlugin></EndpointOutPlugin>
        <MaxFileSize></MaxFileSize>
      </Transmission>
      <Traps>
        <Trap entryPoint="">
        </Trap>
      </Traps>
</Event>

When configuring the "Event" one of the required fields in the "Transmission" element is "<MaxFileSize>". The number you input will be in bytes.

E.g if you configure as follows:

<MaxFileSize>10</MaxFileSize>

The output xml file will NOT be created if the total size is greater then 10 bytes.

If we configure like this:

<MaxFileSize>0</MaxFileSize>

The file will be created no matter how big it is.

Last edited by MarekR (26-03-2019 14:56:21)

Offline

Board footer

Powered by FluxBB