title: How to access flume event header attributes?
body: <p>I have added few event header attributes in <code>Flume</code> but I am not sure how to access it in the flumeagent config file</p>
  
  <p>Ex: I have added fileHeader using</p>
  
  <p><code>flumeagent.sinks.sinkname.hdfs.fileHeader = true</code></p>
  
  <p>The goal is to be able to add event header attributes in the path, 
  Ex: <code>flumeagent.sinks.sinkname.hdfs.path = /user/name/flumedir/%y-%m-%d/event-attribute</code></p>