Dynamic Generate CSV in Logstash csv output plugin

Hello,
I want to dynamically generate my csv file with current date.

My conf----

csv {
			fields => ["id" , "name"]
			path => "test-%{+YYYY-MM-dd}.csv"
	}	

but it is not working..

It is generating file as : test-.csv

That will happen if you remove the [@timestamp] field from the event.

It worked.

Thank You Badger.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.