Logstash exec Output delete all files with extension

Hello !
I want to make an exec in output to delete all files with extension .conf
i tried "rm *.conf " but didn't work
Thank you for your help I will be very grateful

find . -name '*.conf' -delete

it's ok this worked for me

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.