<?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 Re: How do you configure a PutMongo NiFi Processor ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-do-you-configure-a-PutMongo-NiFi-Processor/m-p/341333#M233496</link>
    <description>&lt;P&gt;There are two aspects of your question "&lt;SPAN&gt;How do you configure a PutMongo NiFi Processor&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Connection details:&amp;nbsp; &amp;nbsp;Connection URL, User Auth, Wire encryption (SSL )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Actual Query: make sure query syntax is correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you can post an error snipped and snap from the processor config to be able to isolate if this query issue or connection issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Assume if this is with query-related issue , then you can verify if the same query works from the generic mongo db client? if not then same query will not work from nifi:PutMongo as well.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank You.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Apr 2022 13:16:16 GMT</pubDate>
    <dc:creator>ckumar</dc:creator>
    <dc:date>2022-04-13T13:16:16Z</dc:date>
    <item>
      <title>How do you configure a PutMongo NiFi Processor ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-you-configure-a-PutMongo-NiFi-Processor/m-p/341255#M233470</link>
      <description>&lt;P&gt;How do you configure a PutMongo NiFi Processor with ID as the primary key used to select the document and updating 2-3 fields inside the document with user defined attributes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I have so far and it errors out :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Update Query--&amp;gt; {my_id:${my_id},$set:{['a']['b']['exists_in_file']:"True"}}&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 15:53:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-you-configure-a-PutMongo-NiFi-Processor/m-p/341255#M233470</guid>
      <dc:creator>Olivia_4692</dc:creator>
      <dc:date>2022-04-12T15:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do you configure a PutMongo NiFi Processor ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-you-configure-a-PutMongo-NiFi-Processor/m-p/341333#M233496</link>
      <description>&lt;P&gt;There are two aspects of your question "&lt;SPAN&gt;How do you configure a PutMongo NiFi Processor&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Connection details:&amp;nbsp; &amp;nbsp;Connection URL, User Auth, Wire encryption (SSL )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Actual Query: make sure query syntax is correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you can post an error snipped and snap from the processor config to be able to isolate if this query issue or connection issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Assume if this is with query-related issue , then you can verify if the same query works from the generic mongo db client? if not then same query will not work from nifi:PutMongo as well.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank You.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 13:16:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-you-configure-a-PutMongo-NiFi-Processor/m-p/341333#M233496</guid>
      <dc:creator>ckumar</dc:creator>
      <dc:date>2022-04-13T13:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do you configure a PutMongo NiFi Processor ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-do-you-configure-a-PutMongo-NiFi-Processor/m-p/341523#M233551</link>
      <description>&lt;P&gt;Could you probably give me an example of how to frame a Mongo query in NiFi ?&lt;/P&gt;&lt;P&gt;My key to select the record is "&lt;SPAN&gt;my_id&lt;/SPAN&gt;", which I get from an evaluate json path processor. The Columns that I want to update is a nested json key like so :&amp;nbsp;[&lt;SPAN&gt;'a']['b']['exists_in_file']. The query that&amp;nbsp;I now have in update Query Key is : {"$my_id":["a.b.exists_in_file":"True"]}.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This errors our saying : BasicDBList cannot be cast to java.util.Map&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Apr 2022 05:16:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-do-you-configure-a-PutMongo-NiFi-Processor/m-p/341523#M233551</guid>
      <dc:creator>Olivia_4692</dc:creator>
      <dc:date>2022-04-16T05:16:52Z</dc:date>
    </item>
  </channel>
</rss>

