How to parse few XML files with different number of tags in different files using Logstash?

I would use a pattern that never matches so that you can consume the entire file as a single event. See here for an example.