Changing file path name every five minutes in output plugin

My requirement is my file name should change every 5 minutes . Currently I am using below configuration to change it every minute. Please tell me some way to change it every 5 minute.

output {
	stdout { codec => rubydebug }
  csv {
    # elastic field name
    fields =>  ["@timestamp","requestid","ngnix.responsebytes"]
    # This is path where we store output.   
    path => "C:/Users/M1056317/ELK/csv/try6/csv-export-%{}.csv"

I do not think logstash can support that.