Getting statistics data
The framework collects statistics data and provides several statistics data outputs. To augment the statistics data with custom attributes or enable more data sinks, set the appropriate parameter to on.
About this task
Enable custom statistics outputs by setting the appropriate parameter to on.
Procedure
- In the file <PathToYourApplication>/config/config.cfg, find the ite.ingest.reader.customFileStatistics parameter description
-
To enable the custom file statistics, set the parameter to on: ite.ingest.reader.customFileStatistics=on
-
In the file <PathToYourApplication>/config/config.cfg, find the ite.ingest.reader.customParserStatistics parameter description
-
To enable the custom parser statistics, set the parameter to on: ite.ingest.reader.customParserStatistics=on
-
In the file <PathToYourApplication>/config/config.cfg, find the ite.storage.auditOutputs parameter description
-
To enable an extra processing step for file statistics that you can use to write the statistics to a database or export the statistics to another application, set the parameter to on: ite.storage.auditOutputs=on
You implement the code that is enabled with ite.storage.auditOutputs in the <namespace>.chainsink.custom::AuditTableWriter composite operator.