Member since
09-27-2018
138
Posts
23
Kudos Received
10
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 12761 | 02-28-2021 10:23 PM | |
| 2870 | 02-08-2021 11:53 PM | |
| 38665 | 12-16-2020 11:31 PM | |
| 10443 | 12-14-2020 11:02 PM | |
| 7908 | 12-14-2020 12:18 AM |
10-15-2020
04:20 AM
Thanks for your help @ashinde ! I see I was looking at the wrong section of rest-api. OK I have to go on nifi rest-api section flow/history. I will have a look on the nifi.properties but because my report is running every night I suppose the purging doesn't matter. Second option you mentioned concerning when a flow was brought to registry doesn't interest... at the moment.
... View more
10-14-2020
03:24 AM
@ashinde Thanks for this information. Tested the command with InvokeHTTP from NiFi itselfe. So I would have to deliver a list of Processgroup-IDs to check with this request... At the moment I try getting information with https://${hostname(true)}:${NIFI_PORT}/nifi-api/process-groups/${PG_ID}/process-groups starting with root-pg-id, split and doing the same for each therein found processgroup in a loop. So I can get component-name, component-version, pg-id. One info I still miss is timestamp when a processgroup was brought to a NiFi-instance (imported from registry) or when it was last updated (change of version). Do you have a tip where to find this? Thanks.
... View more
09-21-2020
12:39 AM
@PVVK It works perfect! Thank you very much.
... View more
09-21-2020
12:15 AM
@PVVK In the meantime the problem was solved on an other way. But thank you for the script I will test it and I can learn a lot of it!
... View more
09-02-2020
11:34 PM
Hi all, I want to build a flow which brings up information about all versioned processgroup on this system. What I need is: - name of each processgroup - version of each processgroup - timestamp when this version was brought to this system Now I tested with NiFi-REST-API but I can not find the right request to do this. Could someone help me to get this works? Thanks.
... View more
Labels:
- Labels:
-
Apache NiFi
02-24-2020
11:20 PM
1 Kudo
@stevenmatison For the sake of completeness and to confirm your suspicions: With NiFi 1.11.1 parameters also work in the PutEmail-Processor.
... View more
02-24-2020
07:01 AM
@MattWho Just for information. This originally described phenomen is solved in the combination NiFi 1.11.1 and NiFi-Registry 0.5.0. A versioncontrolled process-group which contains disabled processors isn't marked anymore with containing "uncommitted changes" after restart of NiFi. Only thing that struck me but isn't a problem: If I disable a versioncontrolled process-group this doesn't lead to marking the process group as having "uncommited changes". But after restart of NiFi this process group is marked as having "uncommited changes". The option "Show local changes" names the differences as "Processor was disabled" for all components within the process group.Now I can proceed a commit and everything stays fine after restart of NiFi.
... View more
02-18-2020
09:50 AM
@Slade First of all I think there is a { missing at the begin of your JSON. You can try here for example: http://jsonpath.herokuapp.com/ Basically it works with $.outputs..name
... View more
02-13-2020
12:38 AM
Hi all! What I get: JSON with an arbitrary number of entries beneath "table". {
"head": {
"dnr": "122"
},
"table": [
{
"zn": 1,
"datum": "20200211", <=== yyyyMMdd CET
"uhrzvon": "10:40" <=== HH:mm CET
},
{
"zn": 2,
"datum": "20200211",
"uhrzvon": "10:47"
},
{
"zn": 3,
"datum": "20200212",
"uhrzvon": "08:11"
}
]
} What I need: Each entry contains "datum" and "uhrzvon" (CET) which I need to join and convert to timestamp (UTC). Because of a later JOLT-Transformation, I thought I can change the original entry of "datum" to use this in JOLT. {
"head": {
"dnr": "122"
},
"table": [
{
"zn": 1,
"datum": "2020-02-11 09:40:00.000", <=== yyyy-MM-dd HH:mm:ss.SSS UTC
"uhrzvon": "10:40"
},
{
"zn": 2,
"datum": "2020-02-11 09:47:00.000",
"uhrzvon": "10:47"
},
{
"zn": 3,
"datum": "2020-02-12 07:11:00.000",
"uhrzvon": "08:11"
}
]
} What I tried: RecordProcessing without schema I can format the date, but not the time (either it stays empty or the value ist wron). And I can't finde a way to bring this two values together. UpdateRecord brings this result {
"head": {
"dnr": "122"
},
"table": [
{
"zn": 1,
"datum" : "2020-02-11 00:00:00.000",
"uhrzvon" : "04:51:40.000", complete wrong
}, ExtractText for whole JSON-Content to an attribute and tried to work with new possibilities for JSON of expression language With jsonPathPut I can't add key/value to the needed path ($.table). It only works on top level. UpdateAttribute JOLT I didn't find a way to join and convert these two information here. Groovy-Script I have no clue of it. I saw some discussion around this but can't find a fitting example. Any help is very wellcome. NiFi 1.11.1
... View more
Labels:
- Labels:
-
Apache NiFi
01-20-2020
01:17 AM
@MattWho Thanks for this information. I haven't yet updated the registry because I can't do this myself. As soon as the update will be made sometime I will have a look on this an give you a reply.
... View more