) { mutate { add_field => { "target_index_name" => "%{service}-%{+YYYY.MM.dd}" } } } else { mutate { add_field => { "target_index_name" => "%{service}-%{+YYYY.ww}w" }
时间 2022.01.01
目标时间 2022.00w
实际输出时间 2021.52w
2023-10-18 16:39:34
) { mutate { add_field => { "target_index_name" => "%{service}-%{+YYYY.MM.dd}" } } } else { mutate { add_field => { "target_index_name" => "%{service}-%{+YYYY.ww}w" }
时间 2022.01.01
目标时间 2022.00w
实际输出时间 2021.52w