Joey Trang
Joey Trang

Reputation: 1173

how sink data to syslog using apache flume

is it possible to sink data from apache flume to syslog? I am currently checking from official documention, but seems there is no sink connector to Syslog available at presence. I am thnking using logstash as replacement because it supports both source and sink to syslog. However, the downside is that it is not distributed and scalable.

Thanks in advance?

Upvotes: 1

Views: 387

Answers (1)

frb
frb

Reputation: 3798

You can create you own custom sink for Syslog, if you know any Syslog API for Java. This question at StackoverFlow itslef coulf help you.

Regrding custom sink creation, it is not very complex. You have to extend the AbstractSink class, and to implement the Configurable interface. This basically means to override the public Status process() and public void configure(Context context) methods, respectively.

Upvotes: 1

Related Questions