Move the file to another folder

Tags:

#1 ppalm

Hi, I'm looking for a mean to move logs files from one folder to another folder after processed them. I want to know if nxlog has a Procedure like file_copy to do that. Thank you

#2 Zhengshi Nxlog ✓
#1 ppalm
Hi, I'm looking for a mean to move logs files from one folder to another folder after processed them. I want to know if nxlog has a Procedure like file_copy to do that. Thank you

If you are using NXLog EE, im_file has a directive block called OnEOF that can be used for this purpose in combination with xm_fileop's file_rename() procedure.
https://nxlog.co/documentation/nxlog-user-guide-full#processing_rotation_input