Reputation: 1437
I want to invoke a shell script from flume agent machine . Is it possible to call a shell script using flume ? if yes how can i do it ?
Upvotes: 0
Views: 439
Reputation: 2366
To expand on @Chris White's comment:
If you want to use the script as a source then use the Exec Source.
If you want to use it as an interceptor then you could write a custom interceptor. However, performance would be very poor as you would be starting a new process for each message (or perhaps batch). I would recommend a custom Java interceptor.
Upvotes: 1