Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 10-10-2018 12:34 PM
Hi
I want to generate flow file like below format . Which was used for feed as Query Elastic search processor .We are using Generate flow file for this process. Is there any alternative way to achieve for same
Query
{ "size": 0, "query": { "match_all": {} }, "aggs": { "projects": { "terms": { "field": "project", "size": 100000 }, "aggs": { "cases": { "terms": { "field": "cases", "size": 100000 }, "aggs": { "questions": { "nested": { "path": "questions" } } } } } } } }
Thanks for your time and help
Created 10-10-2018 10:11 PM
`GenerateFlowfile` processor creates FlowFiles with random data or custom content, so this processor will output the custom text.
Another way of doing is using `ReplaceText` processor with Replacement Value as your custom text and ReplacementStrategy as AlwaysReplace.
There is `Duplicate flowfile` processor which is intended for load testing this processor will duplicate the incoming flowfile with the number of flowfiles that we configured in the processor.
Apart from this i don't think there is no other processor(s) intended for providing custom text in NiFi.
Created 10-10-2018 10:11 PM
`GenerateFlowfile` processor creates FlowFiles with random data or custom content, so this processor will output the custom text.
Another way of doing is using `ReplaceText` processor with Replacement Value as your custom text and ReplacementStrategy as AlwaysReplace.
There is `Duplicate flowfile` processor which is intended for load testing this processor will duplicate the incoming flowfile with the number of flowfiles that we configured in the processor.
Apart from this i don't think there is no other processor(s) intended for providing custom text in NiFi.
Created 10-11-2018 12:25 PM
Thanks for your time and response
Created 10-11-2018 12:25 PM
Hi
Thanks for your response and time