Skip to main content

hi,

I want to use the file tail origin but i didn’t known the active file path usage  in sdc. anyone can provide the configuration of file tail and active file path . 

Hello @santosh - Thank you for reaching out to the StreamSets community. Here is the sample pipeline which is tailing the file akshay.csv available under the /tmp location.

You can follow the below link for more details.

 https://docs.streamsets.com/portal/datacollector/5.1.x/help//datacollector/UserGuide/Origins/FileTail.html#task_unq_wdw_yq


Let us know if you have any questions - AkshayJ


Hello @santosh - Thank you for reaching out to the StreamSets community. Here is the sample pipeline which is tailing the file akshay.csv available under the /tmp location.

You can follow the below link for more details.

 https://docs.streamsets.com/portal/datacollector/5.1.x/help//datacollector/UserGuide/Origins/FileTail.html#task_unq_wdw_yq


Let us know if you have any questions - AkshayJ

yeah thank you ,I used the same format of pipeline but what i required  postprocessing  process like Delete.and how it Processed.After the completion of pipeline i want to delete.but not happenes


@Santhosh Kumar 

Have you set the option to ‘Delete - Deletes the file.’ on the Post Processing tab?

Does it give any errors?


@Santhosh Kumar - Could you please capture the sdc log and see if there is any error for post processing operation?

 


@Santhosh Kumar

Have you set the option to ‘Delete - Deletes the file.’ on the Post Processing tab?

Does it give any errors?

yes, i used that option .after the process finised i can verify the path to confirm the file exists or not ,it will show the file or not .


@Santhosh Kumar 

Yes, confirm and see if the post processing worked. If not, share the logs and any error messages that you received.


@Santhosh Kumar

Have you set the option to ‘Delete - Deletes the file.’ on the Post Processing tab?

Does it give any errors?

yes used that option delete ,but not work and also no error  .but I didn’t known how to ensure the delete option working or not  in correct way .Can you pls solve this ..


Reply