Configuring a PLOSSYS 4 Server¶
In order to use the Accounting for your PLOSSYS 4 instance you need to setup a Filebeat that uploads the data to Elasticsearch. You can setup a new Elasticsearch instance or use an existing one, even one that is currently used to analyze P5 data.
Configuration¶
-
In an editor, open the following configuration file:
C:\ProgramData\SEAL Systems\config\filebeat-p4-accounting.yml
-
In
filebeat.input.paths
, add the path to thestatistics.log
file of your P4 installation:filebeat.input.paths: "C:\\Seal\\applications\\data\\log\\statistics.log"
-
In an editor, open the
plossys.cfg
configuration file:Seal\applications\server\plotserv\plossys.cfg
-
Copy all attribute names from the
STATISTICS_FORMAT
key in theplossys.cfg
file to theprocessors.script.params.configstring
key in thefilebeat-p4-accounting.yml
file.Caution - order of attribute names
You only need the attribute names. You can ignore numbers, special characters and spaces. But mind the order of the attribute names! It must be identical in both files, `plossys.cfg` and `filebeat.yml`.
Example of a STATISTICS_FORMAT value
STATISTICS_FORMAT "(#$06PLO_PLSNR);$.20PLS_PLOTID;$.10PLS_SRCNODE;$.10PLS_USERNAME;$.5PLS_PLOTTYPE;$.1PLS_PLOTPAPER;$.1PLS_PLOTPEN;"
Example of the corresponding
configstring
valueconfigstring: ["PLO_PLSNR","PLS_PLOTID","PLS_SRCNODE","PLS_USERNAME","PLS_PLOTTYPE","PLS_PLOTPAPER","PLS_PLOTPEN"]
-
In
output.elasticsearch.hosts
, replacelocalhost
with the URL of the Elasticsearch instance you whish to upload your data to.Example - local host entry
output.elasticsearch.hosts: "https://10.115.170.126:9200"
-
Restart Filebeat:
start-service seal-p4-accounting-filebeat