title: Flume transferring gzip files
body: <p>I would like to transfer gzip file to hdfs. The option I am exploring is spooldir. I am having issue with specifying the remote location for the spooldir. Any suggestions please: </p>
  
  <pre><code>agent1.sources = src-1
  agent1.channels = c1
  agent1.sinks = k1
  
  agent1.sources.src-1.type = spooldir
  agent1.sources.src-1.channels = c1
  agent1.sources.src-1.hostname = ipaddress
  agent1.sources.src-1.spoolDir = /var/logs/webserver
  agent1.channels.c1.type = memory
  
  agent1.sinks.k1.type = hdfs
  agent1.sinks.k1.channel = c1
  agent1.sinks.k1.hdfs.path = hdfspath
  agent1.sinks.k1.hdfs.fileType = CompressedStream
  agent1.sinks.k1.hdfs.round  = true
  agent1.sinks.k1.hdfs.roundValue = 10
  agent1.sinks.k1.hdfs.roundUnit = minute
  </code></pre>