Logstash jdbc document_id => "%{uid}" problem

Can you provide your entire config?