How to set output rotating every 15 minutes in logstash?

where are config?
how to use rotating in logstast?

input {
.............
}
filter {
.............
}

output {
if ([IAM]) {
file {
path => "/logstash-6.5.1/data/%{+yyyyMMddHH}.log"
codec => line {
format => "LOG_TYPE|%{LOG_TYPE}|TIMESTAMP|%{TIMESTAMP}|URL|%{URL}|METHOD|%{METHOD}"
}
}
}
}

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