I added this agent to the Ambari managed Flume configuuration file:
a1.sources = r1
a1.sinks = k1
a1.channels = c1
a1.sources.r1.type = seq
a1.sinks.k1.type = file_roll
a1.sinks.k1.channel = c1
a1.sinks.k1.sink.directory = /tmp/flume
a1.channels.c1.type = memory
a1.sources.r1.channels = c1
a1.sinks.k1.channel = c1
I got the configuration file from this URL: http://dev.hortonworks.com.s3.amazonaws.com/HDPDocuments/HDP2/HDP-2-trunk/bk_installing_manually_book/content/upgrade-22-13.html
KLooking at the metrics on this web page: http://namenode.localdomain.com:8080/#/main/services/FLUME/summary, the incommoning and outgoing event rates are zero.