<?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 to download JSON files from live feed? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112816#M75635</link>
    <description>&lt;P&gt;Thanks for detail instructions &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/30455"&gt;@Timothy&lt;/a&gt; Spann.&lt;/P&gt;&lt;P&gt;I have been trying to create SSL certificate. But I am getting following an errors, which am not able to fix. I have deleted and installed java. Still I am getting same error.&lt;/P&gt;&lt;P&gt;I have even created SSL certificate as discussed in the page &lt;A href="http://www.batchiq.com/nifi-configuring-ssl-auth.html." rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.batchiq.com/nifi-configuring-ssl-auth.html.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6870-2.jpg" style="width: 1405px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23197i8C8E9561394421D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6870-2.jpg" alt="6870-2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6869-1.jpg" style="width: 1920px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23198i09B2CA53E92D9496/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6869-1.jpg" alt="6869-1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 11:12:49 GMT</pubDate>
    <dc:creator>jayachander_it</dc:creator>
    <dc:date>2019-08-19T11:12:49Z</dc:date>
    <item>
      <title>How to download JSON files from live feed?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112811#M75630</link>
      <description>&lt;P&gt;I have looked in to the following template by &lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt;, which works fine for storing the data on my machine. &lt;/P&gt;&lt;P&gt;&lt;A href="https://gist.github.com/mattyb149/6c09608b09ea07639e1a" target="_blank"&gt;https://gist.github.com/mattyb149/6c09608b09ea07639e1a&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have tried to save  json file from &lt;A href="https://thingspeak.com/channels/64519/feed.json" target="_blank"&gt;https://thingspeak.com/channels/64519/feed.json&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;From InvokeHTTP ---&amp;gt; PutFile is not receiving any data. &lt;/P&gt;&lt;P&gt;I am new to NIFI, i might be missing something.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2016 18:52:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112811#M75630</guid>
      <dc:creator>jayachander_it</dc:creator>
      <dc:date>2016-08-20T18:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to download JSON files from live feed?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112812#M75631</link>
      <description>&lt;P&gt;First, to get insights into what is happening you can tail -f  /var/log/nifi/nifi-app.log.  You can grep InvokeHTTP and PutFile to get the details for each of these processors. &lt;/P&gt;&lt;P&gt;Second you can right click each of these processors and view stats.  That will show you bytes read and written.  This should give you insights into where data is flowing and where it is not.&lt;/P&gt;&lt;P&gt;Your InvokeHTTP processor I believe is repeatedly reading from the url and sending flowfiles (as determined by Scheduling &amp;gt; Run Schedule property).  This means it will be repeatedly writing to the local storage.  Set the PutFile property Conflict Resolution to ignore and see what happens.  (And again, use the log file for details on what is happening for each processor)&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2016 22:28:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112812#M75631</guid>
      <dc:creator>gkeys</dc:creator>
      <dc:date>2016-08-20T22:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to download JSON files from live feed?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112813#M75632</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/11288/gkeys.html" nodeid="11288"&gt;@gkeys&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for a reply.&lt;/P&gt;&lt;P&gt;I have tried looking in to logs , it is not much of help. Process gets killed after some iterations, nothing else from logs.&lt;/P&gt;&lt;P&gt;jay@jay-HP-EliteBook-Folio-9470m:/usr/local/nifi/logs$ tail -f nifi-app.log | grep InvokeHTTP
2016-08-22 19:11:45,952 INFO [NiFi Web Server-186] o.a.n.controller.StandardProcessorNode Stopping processor: class org.apache.nifi.processors.standard.InvokeHTTP
2016-08-22 19:11:45,954 INFO [StandardProcessScheduler Thread-6] o.a.n.c.s.TimerDrivenSchedulingAgent Stopped scheduling InvokeHTTP[id=7544b184-8ee4-47b8-a9ec-b13f7d9fb31a] to run &lt;/P&gt;&lt;P&gt;jay@jay-HP-EliteBook-Folio-9470m:/usr/local/nifi/logs$ tail -f nifi-app.log | grep PutFile
2016-08-22 19:11:45,954 INFO [StandardProcessScheduler Thread-1] o.a.n.c.s.TimerDrivenSchedulingAgent Stopped scheduling PutFile[id=83fa4ab2-778b-4017-83e0-d9171820b942] to run&lt;/P&gt;&lt;P&gt;Data always gets dropped at InvokeHTTP.&lt;/P&gt;&lt;P&gt;In InvokeHTTP it shows as 16bytes read data for each iteration, 0 bytes for write data.&lt;/P&gt;&lt;P&gt;In data for Invoke is 16bytes , and out it is 0.&lt;/P&gt;&lt;P&gt;In PutFile everything is 0.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 00:55:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112813#M75632</guid>
      <dc:creator>jayachander_it</dc:creator>
      <dc:date>2016-08-23T00:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to download JSON files from live feed?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112814#M75633</link>
      <description>&lt;P&gt;Works for me with a valid SSLContext.  &lt;A href="https://community.hortonworks.com/users/12595/jayachanderit.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.hortonworks.com/users/12595/jayachanderit.html&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/12595/jayachanderit.html" nodeid="12595" target="_blank"&gt;@Jay See&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Do you have an SSLContext?  Your URL is SSL, you need a working SSL connection and no firewall blocking it somewhere.&lt;/P&gt;&lt;P&gt;See here:   &lt;A href="https://community.hortonworks.com/content/kbentry/47854/accessing-facebook-page-data-from-apache-nifi.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://community.hortonworks.com/content/kbentry/47854/accessing-facebook-page-data-from-apache-nifi.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6862-help2.png" style="width: 1374px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23199i7A8EDA0B81C8AFC7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6862-help2.png" alt="6862-help2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6863-help3.png" style="width: 847px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23200i24749F4B6843247E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6863-help3.png" alt="6863-help3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6861-help1.png" style="width: 1664px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23201i8E827B37075D0C72/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6861-help1.png" alt="6861-help1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Works fine.&lt;/P&gt;&lt;P&gt;-rw-r--r-- 1 root root 17334 2016-08-22 21:25 21318561924230
[root@sandbox jdk1.8.0_91]# cat /opt/demo/data/21318561924230
{"channel":{"id":64519,"name":"Hessle IOT","description":"I am building many sensors using nodemcu and lua trying to connect everything together..\r\nHave a look at my other thingspeak pages:\r\nhttps://thingspeak.com/channels/145827\r\n\r\n\r\n\r\n","latitude":"53.723805","longitude":"-0.4319","field1":"Inside Temperature","field2":"Inside Humidity","field3":"Outside Light Level","field4":"Outside temp","field5":"Outside Humdity","field6":"Energy usage","field7":"Rain sensor","field8":"Inside gas level","created_at":"2015-11-07T14:22:02Z","updated_at":"2016-08-22T21:23:02Z","elevation":"25","last_entry_id":19221},"feeds":[{"created_at":"2016-08-22T19:43:02Z","entry_id":19122,"field1":"22","field2":"47","field3":"10.83","field4":"18.4","field5":"81.1","field6":"300","field7":"1","field8":"98"},{"created_at":"2016-08-22T19:44:02Z","entry_id":19123,"field1":"25","field2":"45","field3":"9.166","field4":"18.4","field5":"81.1","field6":"300","field7":"1","field8":"97"},{"created_at":"2016-08-22T19:45:03Z","entry_id":19124,"field1":"22","field2":"47","field3":"7.5","field4":"18.3","field5":"81.1","field6":"300","field7":"1","field8":"96"},{"created_at":"2016-08-22T19:46:02Z","entry_id":19125,"field1":"24","field2":"46","field3":"6.666","field4":"18.3","field5":"81.2","field6":"300","field7":"1","field8":"95"},{"created_at":"2016-08-22T19:47:03Z","entry_id":19126,"field1":"22","field2":"47","field3":"5.833","field4":"18.3","field5":"81.1","field6":"300","field7":"1","field8":"96"},{"created_at":"2016-08-22T19:48:02Z","entry_id":19127,"field1":"22","field2":"47","field3":"5","field4":"18.3","field5":"81.2","field6":"300","field7":"1","field8":"96"},{"created_at":"2016-08-22T19:49:02Z","entry_id":19128,"field1":"23","field2":"56","field3":"4.166","field4":"18.2","field5":"81.1","field6":"360","field7":"1","field8":"96"},{"created_at":"2016-08-22T19:50:02Z","entry_id":19129,"field1":"22","field2":"47","field3":"3.333","field4":"18.3","field5":"81.4","field6":"300","field7":"1","field8":"97"},{"created_at":"2016-08-22T19:51:02Z","entry_id":19130,"field1":"22","field2":"47","field3":"2.5","field4":"18.2","field5":"81.2","field6":"300","field7":"1","field8":"95"},{"created_at":"2016-08-22T19:52:02Z","entry_id":19131,"field1":"22","field2":"47","field3":"2.5","field4":"18.2","field5":"81.3","field6":"300","field7":"1","field8":"96"},{"created_at":"2016-08-22T19:53:02Z","entry_id":19132,"field1":"22","field2":"47","field3":"1.666","field4":"18.2","field5":"81.4","field6":"300","field7":"1","field8":"94"},{"created_at":"2016-08-22T19:54:03Z","entry_id":19133,"field1":"22","field2":"47","field3":"1.666","field4":"18.1","field5":"81.4","field6":"360","field7":"1","field8":"95"},{"created_at":"2016-08-22T19:55:02Z","entry_id":19134,"field1":"22","field2":"47","field3":"0.833","field4":"18.2","field5":"81.4","field6":"300","field7":"1","field8":"95"},{"created_at":"2016-08-22T19:56:03Z","entry_id":19135,"field1":"22","field2":"47","field3":"0.833","field4":"18.1","field5":"81.5","field6":"300","field7":"1","field8":"95"},{"created_at":"2016-08-22T19:57:02Z","entry_id":19136,"field1":"22","field2":"47","field3":"0.833","field4":"18.1","field5":"81.5","field6":"300","field7":"1","field8":"94"},{"created_at":"2016-08-22T19:58:03Z","entry_id":19137,"field1":"22","field2":"46","field3":"0.833","field4":"18.1","field5":"81.6","field6":"300","field7":"1","field8":"94"},{"created_at":"2016-08-22T19:59:02Z","entry_id":19138,"field1":"22","field2":"46","field3":"0","field4":"18","field5":"81.6","field6":"300","field7":"1","field8":"93"},{"created_at":"2016-08-22T20:00:03Z","entry_id":19139,"field1":"22","field2":"46","field3":"0","field4":"18","field5":"81.7","field6":"360","field7":"1","field8":"92"},{"created_at":"2016-08-22T20:01:02Z","entry_id":19140,"field1":"22","field2":"46","field3":"0","field4":"18","field5":"81.8","field6":"300","field7":"1","field8":"92"},{"created_at":"2016-08-22T20:02:02Z","entry_id":1914&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:13:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112814#M75633</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2019-08-19T11:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to download JSON files from live feed?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112815#M75634</link>
      <description>&lt;P&gt;password is changeit    &lt;A href="http://certificate.fyicenter.com/120_Java_VM_Password_for_cacerts__Java_System_Keystore.html" target="_blank"&gt;http://certificate.fyicenter.com/120_Java_VM_Password_for_cacerts__Java_System_Keystore.html&lt;/A&gt;   unless you changed the default for the JVM&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 04:19:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112815#M75634</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-08-23T04:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to download JSON files from live feed?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112816#M75635</link>
      <description>&lt;P&gt;Thanks for detail instructions &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/30455"&gt;@Timothy&lt;/a&gt; Spann.&lt;/P&gt;&lt;P&gt;I have been trying to create SSL certificate. But I am getting following an errors, which am not able to fix. I have deleted and installed java. Still I am getting same error.&lt;/P&gt;&lt;P&gt;I have even created SSL certificate as discussed in the page &lt;A href="http://www.batchiq.com/nifi-configuring-ssl-auth.html." rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.batchiq.com/nifi-configuring-ssl-auth.html.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6870-2.jpg" style="width: 1405px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23197i8C8E9561394421D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6870-2.jpg" alt="6870-2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6869-1.jpg" style="width: 1920px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23198i09B2CA53E92D9496/image-size/medium?v=v2&amp;amp;px=400" role="button" title="6869-1.jpg" alt="6869-1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:12:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112816#M75635</guid>
      <dc:creator>jayachander_it</dc:creator>
      <dc:date>2019-08-19T11:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to download JSON files from live feed?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112817#M75636</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12595/jayachanderit.html" nodeid="12595"&gt;@Jay See&lt;/A&gt; I could get it working without SSLContext Service. Please see attached. Can you please post screenshot of your InvokeHttp processor with configuration ?&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6469iBE51FB4452D16301/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="nifi1.png" title="nifi1.png" /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6470i36F1616F151D9C9C/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="nifi2.png" title="nifi2.png" /&gt;</description>
      <pubDate>Tue, 23 Aug 2016 23:13:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112817#M75636</guid>
      <dc:creator>shishir_saxena4</dc:creator>
      <dc:date>2016-08-23T23:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to download JSON files from live feed?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112818#M75637</link>
      <description>&lt;P&gt;make sure you are using the JVM that is running HDF/NiFi.   Also make sure that the NiFi user has read and execute Linux permissions.&lt;/P&gt;&lt;P&gt;/opt/jdk1.8.0_91/jre/lib/security/cacerts&lt;/P&gt;&lt;P&gt;Also I am not sure you want the Oracle JVM, perhaps the full JDK  &lt;A href="http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html"&gt;http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are you on Ubuntu?   run nifi.sh status  or sudo service nifi status   and see what JDK it is using.   That is the one that needs the cert.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 23:24:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112818#M75637</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-08-23T23:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to download JSON files from live feed?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112819#M75638</link>
      <description>&lt;P&gt;/opt/jdk1.8.0_91/bin/keytool -list -v -keystore /opt/jdk1.8.0_91/jre/lib/security/cacerts&lt;/P&gt;&lt;P&gt;Use the same JDK as NIFI for keytool&lt;/P&gt;&lt;P&gt;it will ask for the changeit password&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html"&gt;https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2016 23:27:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112819#M75638</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-08-23T23:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to download JSON files from live feed?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112820#M75639</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2820/shishirsaxena3.html" nodeid="2820"&gt;@Shishir Saxena&lt;/A&gt;, I haven't done much. I have just used the code from here  &lt;A href="https://gist.github.com/mattyb149/6c09608b09ea07639e1a"&gt;https://gist.github.com/mattyb149/6c09608b09ea07639e1a&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Changed the link. I have tried similar to your example as well, it is not working on my machine. &lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 00:11:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112820#M75639</guid>
      <dc:creator>jayachander_it</dc:creator>
      <dc:date>2016-08-24T00:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to download JSON files from live feed?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112821#M75640</link>
      <description>&lt;P&gt;Second option didn't work. I have installed jdk, need to check whether that might solve the issue. &lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 02:44:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-download-JSON-files-from-live-feed/m-p/112821#M75640</guid>
      <dc:creator>jayachander_it</dc:creator>
      <dc:date>2016-08-24T02:44:45Z</dc:date>
    </item>
  </channel>
</rss>

