<?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 How to debug each nifi processor ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-debug-each-nifi-processor/m-p/147720#M44405</link>
    <description>&lt;P&gt;How to debug each nifi processor interms of how much RAM, network , how many flowfiles ..etc .&lt;/P&gt;&lt;P&gt;Or is it possible to write seperate log files for each nifi processor ? Please let us know the process . thanks&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2016 10:04:30 GMT</pubDate>
    <dc:creator>srinivaspadala_</dc:creator>
    <dc:date>2016-10-25T10:04:30Z</dc:date>
    <item>
      <title>How to debug each nifi processor ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-debug-each-nifi-processor/m-p/147720#M44405</link>
      <description>&lt;P&gt;How to debug each nifi processor interms of how much RAM, network , how many flowfiles ..etc .&lt;/P&gt;&lt;P&gt;Or is it possible to write seperate log files for each nifi processor ? Please let us know the process . thanks&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 10:04:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-debug-each-nifi-processor/m-p/147720#M44405</guid>
      <dc:creator>srinivaspadala_</dc:creator>
      <dc:date>2016-10-25T10:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug each nifi processor ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-debug-each-nifi-processor/m-p/147721#M44406</link>
      <description>&lt;P&gt;The first and most straightforward approach is simply to run tail -f | grep &amp;lt;ProcessorName&amp;gt; against log/nifi-app.log and append it to a log.  Ex&lt;/P&gt;&lt;PRE&gt;tail -f log/nifi-app.log | grep ExecuteScript &amp;gt;&amp;gt; ExecuteScript.log&lt;/PRE&gt;&lt;P&gt;You could even use NiFi itself.  Create a flow to tail the log file, extract text that you want (e.g. ExecuteScript) and route this to a file.  GetFile (set for tail) -&amp;gt; ExtractText -&amp;gt; PutFile.  You could make this as complex as you like (e.g one flow but conditionally route extracted text to each target file based on the processor name).&lt;/P&gt;&lt;P&gt;Finally, you could build scripts around the NiFi Rest API to monitor your flows and processors: &lt;A href="https://nifi.apache.org/docs/nifi-docs/rest-api/" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/rest-api/&lt;/A&gt;      E.g. API for Reporting Tasks, Flow, System Diagnostics.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 20:23:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-debug-each-nifi-processor/m-p/147721#M44406</guid>
      <dc:creator>gkeys</dc:creator>
      <dc:date>2016-10-25T20:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug each nifi processor ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-debug-each-nifi-processor/m-p/147722#M44407</link>
      <description>&lt;P&gt;Look at the Ambari Metrics and Grafana reports&lt;/P&gt;&lt;P&gt;&lt;A href="http://hortonworks.com/blog/3-things-to-know-hdf-2-0/" target="_blank"&gt;http://hortonworks.com/blog/3-things-to-know-hdf-2-0/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 20:46:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-debug-each-nifi-processor/m-p/147722#M44407</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-10-25T20:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug each nifi processor ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-debug-each-nifi-processor/m-p/147723#M44408</link>
      <description>&lt;P&gt;This post shows how to very quickly build separate logs for each processor (or however else you wish to customize logs)&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/65027/nifi-easy-custom-logging-of-diverse-sources-in-mer.html" target="_blank"&gt;https://community.hortonworks.com/articles/65027/nifi-easy-custom-logging-of-diverse-sources-in-mer.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2016 22:25:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-debug-each-nifi-processor/m-p/147723#M44408</guid>
      <dc:creator>gkeys</dc:creator>
      <dc:date>2016-11-09T22:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug each nifi processor ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-debug-each-nifi-processor/m-p/147724#M44409</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11288/gkeys.html" nodeid="11288"&gt;@Greg Keys&lt;/A&gt; I would like to apply the same approach, but i prefer to extract logs per process group/flow instead at the processor level. However i see no process group/flow related information in the NiFi logs. Further, i see no processor name as well but only processor type, meaning i have around 20 ExtractText processors with different (customizable) names, it is quite some effort to extract information based on processor IDs only.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 23:14:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-debug-each-nifi-processor/m-p/147724#M44409</guid>
      <dc:creator>foivos</dc:creator>
      <dc:date>2018-01-04T23:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug each nifi processor ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-debug-each-nifi-processor/m-p/147725#M44410</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11288/gkeys.html" nodeid="11288"&gt;@Greg Keys&lt;/A&gt; Your blog is great to clarify a bit the approach one can use, however i run into problems with diverse format of logs that span through multiple lines and then with this approach one logline can be split in multiple flowfiles which is not desired. &lt;/P&gt;&lt;P&gt;Is there a way to use SplitText to split the files in specific patterns? &lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2018 22:45:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-debug-each-nifi-processor/m-p/147725#M44410</guid>
      <dc:creator>foivos</dc:creator>
      <dc:date>2018-01-10T22:45:26Z</dc:date>
    </item>
  </channel>
</rss>

