With logback.xml you can finetune logmessages, but don't ask me the details __.

Cheers Josef


On 04.03.20, 16:35, "Dobbernack, Harald (Key-Work)" 
<harald.dobbern...@key-work.de> wrote:

    Hi Josef,
    
    thank you for your input! We planned on merging/aggregating the errors into 
one mail an hour (so the length of the mail would only be caused by the 
distinct number of error types in the timeframe), but of course I'll check with 
my splunk colleagues!  We still have the problem though that the invalid 
processors are not logged into the nifi-app.log - or is there a way to enable 
this?
    
    Thank you,
    Harald
    
    
    
    Von: josef.zahn...@swisscom.com <josef.zahn...@swisscom.com>
    Gesendet: Mittwoch, 4. März 2020 16:19
    An: users@nifi.apache.org
    Betreff: Re: Logging/Monitoring of Invalid Processors at NiFi Startup
    
    Hi Harald,
    
    I can tell you only what we do, we are sending the whole nifi-app.log to 
splunk and scan there specific for alarms/warnings. We don’t use e-mail 
notification as it doesn’t help too much. In the nifi-app.log you would see as 
well startup issues, so we just focus on that instead.
    
    In my eyes e-mail isn’t the right medium to alert/monitor, eg. If you have 
massiv issues it would flood your e-mail account completely with warnings – and 
I don’t think that you want that.
    
    Cheers Josef
    
    
    From: "Dobbernack, Harald (Key-Work)" <mailto:harald.dobbern...@key-work.de>
    Reply to: "mailto:users@nifi.apache.org"; <mailto:users@nifi.apache.org>
    Date: Wednesday, 4 March 2020 at 14:11
    To: "mailto:users@nifi.apache.org"; <mailto:users@nifi.apache.org>
    Subject: Logging/Monitoring of Invalid Processors at NiFi Startup
    
    Our standalone Nifi 1.11.1 on Debian 10.2 will on service startup not throw 
an Error or Warning into the NiFi log if it deams a processor invalid, for 
example if a samba mount is not available and the listfile or getfile 
processors cannot reach the mount. If, on the other hand, the processors are 
running and the connection to the mount gets lost then we will see Error 
entrances in the NiFi App log, which we then can put to use to alert us.
    
    We had thought to let Nifi report Errors to us via push mail via taillog 
processor on it’s own log, but in case of unreachable mount at service startup 
it wouldn’t be able to alert us that something is wrong.
    
    Is it possible to log invalid processors at service startup? Or how Do you 
monitor or report failures of this type?
    
    Thank you,
    Harald
    
     --
    
    
     Harald Dobbernack
    Key-Work Consulting GmbH | Kriegsstr. 100 | 76133 | Karlsruhe | Germany | 
https://www.key-work.de | 
Datenschutz<https://www.key-work.de/de/footer/datenschutz.html>
    Fon: +49-721-78203-264 | E-Mail: harald.dobbern...@key-work.de | Fax: 
+49-721-78203-10
    
    Key-Work Consulting GmbH, Karlsruhe, HRB 108695, HRG Mannheim
    Geschäftsführer: Andreas Stappert, Tobin Wotring
    

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to