title: How to set Retention Policy to 1 week in InfluxDb Processor in NiFi
body: <p>I am consuming data from Kafka and pushing it to InfluxDb. Following is my flow:</p>
  
  <p>ConsumeKafka_2_0 -> PutInfluxDatabaseRecord</p>
  
  <p>Currently, my Retention policy is set to 'autogen', how can I change this setting to <strong>1 week</strong> retention period?  I did try '7d' and '1week' in the retention policy field in the processor but didn't work. I am using the influx version 1.7.9</p>
  
  <p>What Nifi Expression Language to give in the processor? Any help is much appreciated. I am new to InfluxDatabase</p>
  
  <p><a href="https://i.stack.imgur.com/SdX7l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SdX7l.png" alt="enter image description here"></a></p>
  
  <p>Thanks In advance!</p>