Output file to create based on timestamp

Hi Team,

Please suggest for the below query,

input
{ }
filter { }
output
{
file
{
path => "tmp/path/output-%{+YYYY-MM-dd}"
}
}

This would create an output file based on the day wise / everyday new text file will be created.
Is there any way to create a output file based on x days.
Ex. if i want to create an output file for every 3 days. where should i give the condition and how.

TIA

I've looked at this before as well and the closest thing I could find was this:

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