Configuring a PLOSSYS Distribution Engine/DPF Server¶
In order to use the Accounting for your PLOSSYS Distribution Engine/DPF 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 PLOSSYS Output Engine data.
Configuration¶
-
In an editor, open the following configuration file:
"C:\ProgramData\SEAL Systems\config\filebeat-dpf.yml"
-
In
filebeat.input.paths
, add the path to the joblog files and to the accounting log of your PLOSSYS Distribution Engine/DPF installation:filebeat.inputs.paths: "/data/dpf/dpfjob*/job.log" filebeat.inputs.paths: "/data/log/accounting.log"
-
In an editor, open the
main.customer.xml
configuration file:Seal/applications/server/dpf/templates/main.customer.xml
-
In
Accounting LOGFORMAT
, add the following variables, if necessary:-
JOB_TIMESTAMP_BEGIN
-
JOB_TIMESTAMP_END
-
USED_CHANNELS
You will need these in the Ingest Pipeline.
-
-
Find the tokenizer processor, the name of which starts with
Account Info
and add the variables from theLOGFORMAT
to thefilebeat-dpf.yml
.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, `main.customer.xml` and `filebeat-dpf.yml`. However, the syntax may differ, see examples below.
Example of a
LOGFORMAT
value<accounting LOGFORMAT=";%JOB_TIMESTAMP_BEGIN%;%JOB_TIMESTAMP_END%;%JOBID%;%WFNAME%;%ORIGUSERNAME%;%ORIGHOSTNAME%;%USED_CHANNELS%;" />
Example of the corresponding
dissect string
valuedissect: tokenizer: "Account Info: ';%{JOB_TIMESTAMP_BEGIN};%{JOB_TIMESTAMP_END};%{JOBID};%{WFNAME};%{ORIGUSERNAME};%{ORIGHOSTNAME};%{USED_CHANNELS};'" field: jobmessage
-
In
output.elasticsearch.hosts
, replacelocalhost
with the URL of the Elasticsearch instance you whish to upload your data to.Example of a
local host
entryoutput.elasticsearch.hosts: "https://10.115.170.126:9200"
-
Restart Filebeat:
start-service seal-dpf-filebeat
Logging¶
If you have installed PLOSSYS Distribution Engine/DPF on a separate management server, you have to set the IP address of the management server for the logging:
-
On the PLOSSYS Distribution Engine/DPF server, edit the following file:
"C:\ProgramData\SEAL Systems\config\filebeat-dpf.yml"
-
In
elasticsearch
, replacelocalhost
by the host name or IP address of the management server:output: elasticsearch: hosts: # - http://<admin_server>:9200 - "https://<admin_server>:9200"
-
Save the file.
-
Restart the PLOSSYS Distribution Engine/DPF filebeat:
start-service seal-dpf-filebeat