On Wednesday, June 6, 2012 at 5:40 PM, Mohit Anchlia wrote: > I need to record continuous flow of data with flume syslog source. However, > this data is coming from REST api using our REST service. Now how do I write > to syslog without writing to log4j? Essentially skip writing locally and > write to syslog node that flume is listening on. Is there an api I can > leverage for this? >
Why would you use syslog source if you aren't doing legacy integration with an existing syslog client? If you are going to be writing code or modifying your system, consider using the Flume Client SDK library to talk to Flume over the reliable Avro RPC interface. i.e. https://people.apache.org/~mpercy/flume/flume-1.2.0-incubating-SNAPSHOT/docs/FlumeDeveloperGuide.html#client Mike
