Purpose
Custom fields can be configured in opEvents. This article will describe where and how this is possible.
Views That Support Custom Fields
- Actions
- Raw Logs
- Archive Logs
- Nodes
- Summary Reports
- Edit Nodes
Available Fields
TBD
Field Attributes
TBD
Configuration
Configuration Files
Each view has a seperate configuration file that may be found in the following directory:
/usr/local/omk/lib/json/opEvents/table_schemas
View | Configuration file |
---|---|
Actions | opEvents_action-log.json |
Raw Logs | opEvents_raw-log.json |
Archive Logs | opEvents_archive-log.json |
Nodes | opEvents_node-log.json |
Summary Reports | opEvents_summary-reports.json |
Edit Nodes | opEvents_node-ip.json |
Configuration
The configuration files are json files that have a specific syntax that must be observed. Add the desired field to the json file in the order it would appear in. The table will be constructed left to right based on attributed that are read from the top down.
Verification
It is not necessary to restart any daemons. After editing the associated json file simply load (or reload) the view in question.