[
https://issues.apache.org/jira/browse/NIFI-9183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17406969#comment-17406969
]
David Handermann commented on NIFI-9183:
----------------------------------------
[~Lehel44], thanks for suggesting this improvement. Depending on the
implementation approach and required parameters, it seems like it might make
sense to wrap this capability in something other than {{nifi.sh}}, such as
{{nifi-status-history.sh}}. If more granularity is necessary, it may also be
worth considering the use of [ISO 8601
durations|https://en.wikipedia.org/wiki/ISO_8601#Durations] as a way to
parameterize different intervals, instead of just days. Something to consider
as you move forward with the implementation.
> Add a command-line option to save status history
> ------------------------------------------------
>
> Key: NIFI-9183
> URL: https://issues.apache.org/jira/browse/NIFI-9183
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Lehel Boér
> Assignee: Lehel Boér
> Priority: Major
>
> The status history can only be accessed via the nifi-api REST endpoint. Given
> that these API calls are replicated across cluster nodes, we should add a
> command-line option to save the status history of only one node.
> {{./bin/nifi.sh status-history <days> <dumpFile>}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)