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}"
}
}
}
}