Logstash csv file

I have question,
How can we tell logstash to import only the first 10 lines from a csv file
Thank you

Use a throttle filter with the file name as the key.