Extracting id from _id not working

Filter {
       mutate {
             add_field => {"document_id" => "%{_id}"}
       }
}

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