You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The command returns the flow status for the specified query in JSON format.
132
+
The query consists of the query type, the element identifier, and the query options. Each part is separated by the ':' colon character. Multiple query options are specified as a comma-separated list. In some query types the identifier is omitted, in this case only the query type and the query options are specified. Multiple queries can also be specified in a flowStatus command, in this case the queries are separated by the ';' semicolon character. For example: `./minificontroller --flowstatus "processor:TailFile:health,stats,bulletins;processor:LogAttribute:stats"`
133
+
134
+
Supported query types:
135
+
136
+
##### Processor
137
+
138
+
To query the processors, use the `processor` flag and specify the processor (by ID, name or "all") followed by one of the processor options. The processor options are below:
139
+
140
+
- health: The processor's run status, whether or not it has bulletins.
141
+
- bulletins: A list of all the current bulletins (if there are any).
142
+
- stats: The current stats of the processor.
143
+
144
+
An example query to get the health and stats of the "GenerateFlowFile" processor is below.
To query the connections, use the `connection` flag and specify the connection (by ID, name or "all") followed by one of the connection options. The connection options are below:
151
+
152
+
- health: The processor's run status, whether or not it has bulletins.
153
+
154
+
An example query to get the health and stats of the "Connection1" connection is below.
To query the system diagnostics, use the `systemdiagnostics` flag followed by one of the system diagnostics options. The system diagnostics options are below.
173
+
174
+
- processorstats: The system processor stats. This includes the available processors and load average.
175
+
- contentrepositoryusage: Disk usage stats on the partition or volume where the content repository is located.
176
+
- flowfilerepositoryusage: Disk usage stats on the partition or volume where the flowfile repository is located.
177
+
178
+
An example query to get the processor stats, content repository usage and FlowFile repository usage from the system diagnostics is below.
The query can look like the following: "processor:TailFile:health,stats,bulletins". For more information on the query syntax and options, please see the [flow status documentation](OPS.md#Flowstatus-command).
535
+
Note: The command requires minifi controller to be enabled in the minifi.properties file.
536
+
524
537
### Running as a docker container
525
538
You can use the officially released image pulled from the [apache/nifi-minifi-cpp](https://hub.docker.com/r/apache/nifi-minifi-cpp) repository on dockerhub or you can use your locally built image.
526
539
The container can be run with a specific configuration by mounting the locally edited configuration files to your docker container.
0 commit comments