How to add field "id"

Hello, I wanna add a unique id identifier per file log in logstash. Thank you

I'd use the java_uuid filter for this.

filter {
 java_uuid {
  target => "id"
 }
}

Thank you for your help

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