<?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 save NIFI  Error log to database table ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-save-NIFI-Error-log-to-database-table/m-p/373948#M241826</link>
    <description>&lt;P&gt;How to save NIFI Error log to database table ?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jul 2023 06:12:49 GMT</pubDate>
    <dc:creator>Madhav_VD</dc:creator>
    <dc:date>2023-07-17T06:12:49Z</dc:date>
    <item>
      <title>How to save NIFI  Error log to database table ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-save-NIFI-Error-log-to-database-table/m-p/373948#M241826</link>
      <description>&lt;P&gt;How to save NIFI Error log to database table ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 06:12:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-save-NIFI-Error-log-to-database-table/m-p/373948#M241826</guid>
      <dc:creator>Madhav_VD</dc:creator>
      <dc:date>2023-07-17T06:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to save NIFI  Error log to database table ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-save-NIFI-Error-log-to-database-table/m-p/373961#M241832</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106024"&gt;@Madhav_VD&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged in our NiFi experts &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 09:41:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-save-NIFI-Error-log-to-database-table/m-p/373961#M241832</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2023-07-17T09:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to save NIFI  Error log to database table ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-save-NIFI-Error-log-to-database-table/m-p/373978#M241838</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106024"&gt;@Madhav_VD&lt;/a&gt;&amp;nbsp;This is a job that nifi can do itself.&amp;nbsp; You would just tail the log file w/ nifi TailFile.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.20.0/org.apache.nifi.processors.standard.TailFile/" target="_blank" rel="noopener"&gt;https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.20.0/org.apache.nifi.processors.standard.TailFile/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Once you have the log file going into flowfiles in nifi, you can build your flow to filter lines you want to versus lines you do not want.&amp;nbsp; Then when ready use any flavor of database processor (ExecuteSQLRecord, ExecuteSQL, PutSQL, PutDatabase, etc) to translate the log line into a sql insert statement.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 15:41:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-save-NIFI-Error-log-to-database-table/m-p/373978#M241838</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2023-07-17T15:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to save NIFI  Error log to database table ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-save-NIFI-Error-log-to-database-table/m-p/373993#M241845</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106024"&gt;@Madhav_VD&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;In addition to what &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt; has mentioned which will work, there is another option where you can capture errors through setting up "&lt;SPAN&gt;SiteToSiteBulletinReportingTask&lt;/SPAN&gt;" which will channel all errors to an input port where you can capture the error information in json format from all processors and all nodes in cluster and then store that error in sql or send notification email. This option might require additional steps to set up but its worth it specially if you have cluster. For more info on how to set up the "&lt;SPAN&gt;SiteToSiteBulletinReportingTask&lt;/SPAN&gt;" please refer to : &lt;A href="https://pierrevillard.com/2017/05/13/monitoring-nifi-site2site-reporting-tasks/" target="_blank"&gt;https://pierrevillard.com/2017/05/13/monitoring-nifi-site2site-reporting-tasks/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 19:06:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-save-NIFI-Error-log-to-database-table/m-p/373993#M241845</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2023-07-17T19:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to save NIFI  Error log to database table ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-save-NIFI-Error-log-to-database-table/m-p/374261#M241922</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106024"&gt;@Madhav_VD&lt;/a&gt;,&amp;nbsp;Have any of the replies helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 05:53:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-save-NIFI-Error-log-to-database-table/m-p/374261#M241922</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2023-07-21T05:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to save NIFI  Error log to database table ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-save-NIFI-Error-log-to-database-table/m-p/378990#M243749</link>
      <description>&lt;P&gt;We did this at our end and ended up re-cycling the provenance repository much faster than usual. The huge amount of data that an output of a tailfile generates can fill up both your content and provenance repositories.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 06:39:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-save-NIFI-Error-log-to-database-table/m-p/378990#M243749</guid>
      <dc:creator>RabidRacoon</dc:creator>
      <dc:date>2023-11-14T06:39:36Z</dc:date>
    </item>
  </channel>
</rss>

