For the Meatloaf:
Heat oven to 350°F.
Peel, core, and grate the two apples. The food processor makes this a quick job. While you have the food processor out, grate the onions, and then strain off the liquid. I used two large onions which produced enough for the Ketchup Onion Glaze too.
Add all ingredients in large mixing bowl; use your hands to combine, but don’t over-mix.
Form into a loaf on a rimmed baking sheet, which is lined with parchment paper.
Bake for thirty minutes, and then drain the grease and juices off of the pan. Scrape off any congealed fat, which may have formed around the edges. Cover the meatloaf with the Ketchup Onion Glaze, spreading with a rubber spatula for an even coat.
Bake 10 to 15 minutes more, or until meatloaf is cooked to medium doneness (160°F). Let stand at least 5 minutes before slicing.
For the Kechup Onion Glaze:
Mix all glaze ingredients together, simmer for 10-20 minutes until thickened and reduced.
After meatloaf has cooked for 30 minutes, drain the grease and juices off of the pan. Remove any congealed fat, which may have formed around the edges of the meatloaf.
Cover the meatloaf with the Ketchup Onion Glaze, spreading with a rubber spatula for an even coat.