First, cook the brine: In a pot, combine 2 cups water, 2 cups white vinegar, 2 Tablespoons granulated sugar, ½ teaspoon salt, 4 bay leaves, ½ teaspoon allspices, and ½ teaspoon black pepercorn. Bring the mixture to a boil, then lower the heat and simmer for about three minutes, allowing the flavors to meld. Remove from heat and let the vinegar mixture cool until it is lukewarm but not hot.
In the meantime, start preparing 5 short sausages. Peel off a thin layer of the casing and cut them lengthwise, but do not finish the cut. The sausages should open up enough to insert the onion rings and peppercorns into the cut.
Peel 4 medium onions and cut them lengthwise. Then, slice the halves into thick half-rings.
Clean 5 small chili peppers and cut off the stems. Slice them in half lengthwise, removing the seeds if you prefer a milder taste, or leaving them in for a spicier result.
Carefully open the sausages. Insert a piece of chili pepper and onion rings into the cut.
Prepare a two-quart (2 liter) glass jar with a screw cap or clip-on lid. Wash the jar thoroughly with hot water and dry it completely.
Place onions at the bottom of the jar, then add a layer of filled sausages on top. Gradually pour the brine over the sausages, adding some onions between each layer. Pack the sausages tightly to avoid unnecessary gaps.
Cover the top layer with the remaining onions and pour in the brine to fully submerge the sausages and onions.
Close the jar with a lid and put it in a fridge to cure. Let the pickled sausages sit in the refrigerator for at least a week, preferably two, before you dig in.