Modifying a gateway.export file to export events
In a gateway.export file, you can configure what data goes into the export file and how that data is formatted. A default gateway.export file exists in the installationDirectory\pw\server\etc directory. Copy the gateway.export file to the installationDirectory\pw\server\etc \cellName directory and edit the copy.
By default, the gateway.export file has the format shown in the following figure.
gateway.export file format
#
cond=always
slots.new=[$ALL]
slots.mod=[$MODS]
body=$VALUE
term=\n
separator=,
quotable=,"
openquote="
closequote="
escapequote="
Using the default values in the gateway.export file for new events produces output in the format shown in the following figure.
gateway.explore file output for new events
mc.exp.000000001,0,['exp:1'],[],[],[],[],[],0,[],exp,
10.0.9.10:1981,28698
0,1010183001,2,,,,,,,,OPEN,,[admin],1,OK,,,0,0,0,0,
mc.exp.000000002,0,['exp:2'],[],[],[],[],[],0,[],exp,
10.0.9.10:1981,600
Using the default values in the gateway.export file for modified events produces output in the format shown in the following figure.
gateway.explore file output for modified events
exp
10.0.9.10:1981
28698
mc.exp.000000002
exp
10.0.9.10:1981
600
ACK
1010183062
mc.exp.000000003
exp
10.0.9.10:1981
28698