Skip to content

Configuring the 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

  1. In an editor, open the following configuration file:

    C:\ProgramData\SEAL Systems\config\filebeat-p4-accounting.yml
    
  2. In filebeat.input.paths, add the path to the statistics.log file of your P4 installation:

    filebeat.input.paths: "C:\\Seal\\applications\\data\\log\\statistics.log"
    
  3. In an editor, open the plossys.cfg configuration file:

    Seal\applications\server\plotserv\plossys.cfg
    
  4. Copy all attribute names from the STATISTICS_FORMAT key in the plossys.cfg file to the processors.script.params.configstring key in the filebeat-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 value

    configstring: ["PLO_PLSNR","PLS_PLOTID","PLS_SRCNODE","PLS_USERNAME","PLS_PLOTTYPE","PLS_PLOTPAPER","PLS_PLOTPEN"]
    
  5. In output.elasticsearch.hosts, replace localhost 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"
    
  6. Restart Filebeat:

    start-service seal-p4-accounting-filebeat
    

Back to top