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
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.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.