<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Is there any way to build json query with out using Generate flow file processor in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-build-json-query-with-out-using-Generate/m-p/209811#M84216</link>
    <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;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 &lt;/P&gt;&lt;P&gt;Query &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{
"size": 0,
"query": {
"match_all": {}
},
"aggs": {
"projects": {
"terms": {
"field": "project",
"size": 100000
},
"aggs": {
"cases": {
"terms": {
"field": "cases",
"size": 100000
},
 "aggs": {

    "questions": {
      "nested": { 
        "path": "questions"
      }
}
}
}
}
}
}
}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time and help&lt;/P&gt;</description>
    <pubDate>Wed, 10 Oct 2018 19:34:46 GMT</pubDate>
    <dc:creator>sdendukuri</dc:creator>
    <dc:date>2018-10-10T19:34:46Z</dc:date>
    <item>
      <title>Is there any way to build json query with out using Generate flow file processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-build-json-query-with-out-using-Generate/m-p/209811#M84216</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;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 &lt;/P&gt;&lt;P&gt;Query &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{
"size": 0,
"query": {
"match_all": {}
},
"aggs": {
"projects": {
"terms": {
"field": "project",
"size": 100000
},
"aggs": {
"cases": {
"terms": {
"field": "cases",
"size": 100000
},
 "aggs": {

    "questions": {
      "nested": { 
        "path": "questions"
      }
}
}
}
}
}
}
}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time and help&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 19:34:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-build-json-query-with-out-using-Generate/m-p/209811#M84216</guid>
      <dc:creator>sdendukuri</dc:creator>
      <dc:date>2018-10-10T19:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to build json query with out using Generate flow file processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-build-json-query-with-out-using-Generate/m-p/209812#M84217</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/73297/sdendukuri.html" nodeid="73297"&gt;@Suresh Dendukuri&lt;/A&gt;&lt;P&gt;`&lt;STRONG&gt;GenerateFlowfile`&lt;/STRONG&gt; processor &lt;STRONG&gt;creates FlowFiles with random data or custom content, &lt;/STRONG&gt;so this processor will output the custom text.&lt;/P&gt;&lt;P&gt;Another way of doing is using `ReplaceText` processor with &lt;STRONG&gt;Replacement Value&lt;/STRONG&gt; as your &lt;STRONG&gt;custom text&lt;/STRONG&gt; and &lt;STRONG&gt;ReplacementStrategy&lt;/STRONG&gt; as &lt;STRONG&gt;AlwaysReplace&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;There is `&lt;STRONG&gt;Duplicate flowfile`&lt;/STRONG&gt; 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.&lt;/P&gt;&lt;P&gt;Apart from this i don't think there is no other processor(s) intended for providing custom text in NiFi.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 05:11:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-build-json-query-with-out-using-Generate/m-p/209812#M84217</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2018-10-11T05:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to build json query with out using Generate flow file processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-build-json-query-with-out-using-Generate/m-p/209813#M84218</link>
      <description>&lt;P&gt;Thanks for your time and response&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 19:25:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-build-json-query-with-out-using-Generate/m-p/209813#M84218</guid>
      <dc:creator>sdendukuri</dc:creator>
      <dc:date>2018-10-11T19:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to build json query with out using Generate flow file processor</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-build-json-query-with-out-using-Generate/m-p/209814#M84219</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Thanks for your response and time&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 19:25:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-way-to-build-json-query-with-out-using-Generate/m-p/209814#M84219</guid>
      <dc:creator>sdendukuri</dc:creator>
      <dc:date>2018-10-11T19:25:46Z</dc:date>
    </item>
  </channel>
</rss>

