document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. # The configuration file needs to define the sources,
  2. # the channels and the sinks.
  3. # Sources, channels and sinks are defined per agent,
  4. # in this case called 'agent'
  5.  
  6. exec-agent.sources = intervalPrinting
  7. exec-agent.channels = memoryChannel
  8. exec-agent.sinks = loggerSink
  9.  
  10. # For each one of the sources, the type is defined
  11. exec-agent.sources.intervalPrinting.type = exec
  12. exec-agent.sources.intervalPrinting.command = /home/ubuntu/testExec/intervalPrinting
  13.  
  14. # The channel can be defined as follows.
  15. exec-agent.sources.intervalPrinting.channels = memoryChannel
  16.  
  17. # Each sink's type must be defined
  18. exec-agent.sinks.loggerSink.type = logger
  19.  
  20. #Specify the channel the sink should use
  21. exec-agent.sinks.loggerSink.channel = memoryChannel
  22.  
  23. # Each channel's type is defined.
  24. exec-agent.channels.memoryChannel.type = memory
  25.  
  26. # Other config values specific to each type of channel(sink or source)
  27. # can be defined as well
  28. # In this case, it specifies the capacity of the memory channel
  29. exec-agent.channels.memoryChannel.capacity = 100
');