Performance hit when multiple filebeats are sending to same ES

When I set this value to say, 5, in each of the 5 elasticsearch.yml files in the 5 servers, does it mean there's 5 shards per index, or 5*5 shards per index?