Monitoring status using MiNiFi
You can use the minifi.sh
flowStatus option to monitor a range of
aspects of your MiNiFi operational and dataflow status.
You can use the flowStatus option to get information dataflow component health and functionality, a MiNiFi instance, or system diagnostics.
FlowStatus accepts the following flags and options:
- Processors
- health
- bulletins
- status
- Connections
- health
- stats
- remoteProcessGroups
- health
- bulletins
- status
- authorizationIssues
- inputPorts
- controllerServices
- health
- bulletins
- provenancereporting
- health
- bulletins
- instance
- health
- bulletins
- status
- systemdiagnostics
- heap
- processorstats
- contentrepositoryusage
- flowfilerepositoryusage
- garbagecollection
For example, this query gets the health, stats, and bulletins for the TailFile
processors:
minifi.sh flowStatus processor:TailFile:health,stats,bulletins
CEM can export time series metrics to several metric storage providers.
The recommended metrics store service is Prometheus. Prometheus integrates with Grafana for
time series metric visualization. With Prometheus and Grafana, you can store and visualize
metrics for CEM. For details on how to enable and set Prometheus and Grafana, see
Monitoring Metrics with Grafana.