Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 12-05-2016 05:01 PM
I trying to capture log details and sending as an mail or as an attachment through nifi process.
Please help me out,
Created 12-05-2016 05:10 PM
You need to use "GetFile" to get the log file. Then use split text or some filter process based on your requirements to parse log file (or simply just send the whole file) and then send to PutEmail processor to send the emil.
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.PutEmail/
Created 12-05-2016 05:10 PM
You need to use "GetFile" to get the log file. Then use split text or some filter process based on your requirements to parse log file (or simply just send the whole file) and then send to PutEmail processor to send the emil.
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.PutEmail/
Created 12-18-2016 06:13 PM
Minor sidenote: can use TailFile with polling interval as alternative to GetFile.
Created 12-23-2016 01:18 PM
Thanks Greg, I had tried with Tailfile and its working fine, thanks for the solution and idea to do it