Member since
04-05-2018
44
Posts
2
Kudos Received
0
Solutions
06-18-2018
10:42 PM
Thanks .. I will check the same
... View more
06-18-2018
07:22 PM
Hi I am using below query in query record processor for flow files which are json based , But the casecount column is not displaying in resultant flowfiles SELECT caseid, projectshortname,COUNT(caseid) as casecount
FROM FLOWFILE
GROUP BY caseid,projectshortname
ORDER BY caseid DESC
LIMIT 1 Please advice me on this issue
... View more
Labels:
- Labels:
-
Apache NiFi
06-18-2018
03:13 PM
Labels:
- Labels:
-
Apache NiFi
04-26-2018
08:13 PM
@matt Thanks for your response . I have already used the option validate record processor ,and applied the option "suppress null records" ==> Allays suppress in record writer . but it was not working as expected any other thoughts appreciated
... View more
04-26-2018
07:47 PM
@BX thanks for your response.. But my requirement consistence not required in elastic search index . Could you please provide your "deleteEmptyAttributes" nar
... View more
04-26-2018
04:51 PM
Hi I have elastic search index in below format. here the fields are populated with null values if the data are not supplied to fields . Is there any way by using nifi we can remove null values contain fields before elastic search index loading Details Sample index if all data populated
{
"_index": "bookdb_index",
"_type": "book",
"_id": "1",
"_score": 0.28168046,
"title": "Elasticsearch: The Definitive Guide",
"summary": "A distibuted real-time search and analytics engine",
"publish_date": "2015-02-07",
"num_reviews": 20,
"publisher": "manning"
} Sample index if all not data populated {
"_index": "bookdb_index",
"_type": "book",
"_id": "1",
"_score": 0.28168046,
"title": "Elasticsearch: The Definitive Guide",
"summary": null,
"publish_date": null,
"num_reviews": 20,
"publisher":null
} Avro Scheam registery {
"namespace": "ingestion",
"type": "record",
"name": "quest",
"fields": [
{
"name": "_type",
"type": "string"
},
{
"name": "_id",
"type": "string"
},
{
"name": "_score",
"type": ["string", "null"]
},
{
"name": "title",
"type": ["string", "null"]
},
{
"name": "summary",
"type": ["string", "null"]
},
{
"name": "publish_date",
"type": ["null", "string"]
},
{
"name": "num_reviews",
"type": ["string", "null"]
},
{
"name": "publisher",
"type": ["string", "null"]
},
] I am using Putelasticsearchhttprecord processor to load data to elasticsearch . In nifi 1.6 there is "Suppress Null Values" feature is available , but i am using nifi 1.5 version , Is there any way to resolve the issue I am trying to change Avro schema registry but fields are populated null values some time and sometimes not. Please help me to resolve the issue
... View more
Labels:
- Labels:
-
Apache NiFi
-
Apache Phoenix
04-23-2018
01:11 PM
@shu , Thanks you very much for your detail explanation and options to solve the problem . Appreciate your effort . Thanks for your time and help
... View more
04-20-2018
10:25 PM
Hi I have following JSON flow file and trying to remove null fields in the file and store into elastic search. here we need to remove Null containing fields from any type integer or character [ { "color": "black", "category": "hue", "type": "NULL", "code": { "rgba": [255,255,255,1], "hex": "#000" } }, { "color": "NULL", "category": "value", "code": { "rgba": [0,0,0,1], "hex": "#FFF" } }, { "color": "red", "category": "hue", "type": "primary", "code": { "rgba": NULL, "hex": "#FF0" } }] Flow used ==> Getfile ==>replacetest==>putelasticsearchrecords Desired Output [ { "color": "black", "category": "hue", "code": { "rgba": [255,255,255,1], "hex": "#000" } }, { "category": "value", "code": { "rgba": [0,0,0,1], "hex": "#FFF" } }, { "color": "red", "category": "hue", "type": "primary", "code": { "hex": "#FF0" } }]
... View more
04-20-2018
10:23 PM
Hi I have following JSON flow file and trying to remove null fields in the file and store into elastic search. here we need to remove Null containing fields from any type integer or character [
{
"color": "black",
"category": "hue",
"type": "NULL",
"code": {
"rgba": [255,255,255,1],
"hex": "#000"
}
},
{
"color": "NULL",
"category": "value",
"code": {
"rgba": [0,0,0,1],
"hex": "#FFF"
}
},
{
"color": "red",
"category": "hue",
"type": "primary",
"code": {
"rgba": NULL,
"hex": "#FF0"
}
}] Flow used ==> Getfile ==>replacetest==>putelasticsearchrecords
... View more
04-20-2018
08:31 PM
Hi How to search and remove NULL value containing fields in incoming flow files in nifi . I was used replace test processor but it was removing only particular field. Here the Incoming flow file is JSON file format . please provide your thoughts in theis regard
... View more
Labels:
- Labels:
-
Apache NiFi
- « Previous
- Next »