Peel the onions, cut in half and cut into thin slices. Quarter the figs.
Caramelize the onion julienne with the sugar in a large saucepan. Add the figs and deglaze with the red wine. Season to taste with lemon zest, vinegar, cinnamon and pimento d `Espelette.
Let the chutney simmer over a low flame, stirring constantly, until it has the desired consistency. Fill hot into Twist Off glasses and close immediately. If you want, you can also preserve it for a longer shelf life.