Hi
I want to output the file using current time just like the config below.
output {
file {
path =>"/home/test/%{+YYYYMMdd}/nginx_%{+YYYYMMdd_HH}.log"
}
}
the filename generated use the UTC timezone time, But I want to ouput the filename with my local time zone(Asia/Beijing)
e.g my local current time is "2016-12-23 17:44"
run the config file above, the filename is "nginx_20161223_09.log"
how can I get the filename using my timezone,just like this "nginx_20161223_17.log"???
Thanks!!!